kaas
This commit is contained in:
parent
fbc040c317
commit
826a30f95f
19 changed files with 430 additions and 170 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
import type { Category, Entry } from "./types";
|
||||
import { query } from "@solidjs/router";
|
||||
import { getContinueWatching, getRandomItems } from "./apis/jellyfin";
|
||||
import { getContinueWatching, getItemStream, getRandomItems } from "./apis/jellyfin";
|
||||
import {
|
||||
getDiscovery,
|
||||
getRecommendations,
|
||||
|
@ -14,6 +14,7 @@ const jellyfinUserId = "a9c51af84bf54578a99ab4dd0ebf0763";
|
|||
|
||||
// export const getHighlights = () => getRandomItems(jellyfinUserId);
|
||||
export const getHighlights = () => getContinueWatching(jellyfinUserId);
|
||||
export const getStream = (id: string) => getItemStream(jellyfinUserId, id);
|
||||
|
||||
export const listCategories = query(async (): Promise<Category[]> => {
|
||||
return [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue