oops went on a massive code sesh and theres like a whole website now

This commit is contained in:
2026-11-03 19:01:41 +00:00
parent e4e28174bf
commit 7e8f329109
27 changed files with 492 additions and 102 deletions

View File

@@ -0,0 +1,15 @@
import type { PageServerLoad } from './$types';
import { getLatestPlaylistSong } from '#lib/server/jellyfin';
import { JELLYFIN_PLAYLIST_ID } from '$app/env/private';
export const load: PageServerLoad = () => {
const latestSong = getLatestPlaylistSong(globalThis.fetch, JELLYFIN_PLAYLIST_ID);
latestSong.catch(() => {});
return {
streamed: {
latestSong
}
};
};