update jellyfin api implementation

This commit is contained in:
Chris Kruining 2025-05-14 13:54:06 +02:00
parent 81491482e4
commit 873677ea04
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
6 changed files with 59362 additions and 7 deletions

View file

@ -9,15 +9,17 @@ import {
import { Show } from "solid-js";
import css from "./index.module.css";
const highlightId = 'c97185ed-e0cf-4945-9120-9d15bb8e5998';
export const route = {
preload: async () => ({
highlight: await getEntry("14"),
highlight: await getEntry(highlightId),
categories: await listCategories(),
}),
};
export default function Home() {
const highlight = createAsync(() => getEntry("14"));
const highlight = createAsync(() => getEntry(highlightId));
const categories = createAsync(() => listCategories());
return (