diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 713f9c670..af1d39da6 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -25,6 +25,10 @@ type Toast as ToastData } from '$lib/stores/toastStore'; + // Playback context and preferences + import { initPlaybackContextStore } from '$lib/stores/playbackContextStore'; + import { initPlaybackPreferences } from '$lib/stores/playbackPreferencesStore'; + // UI state management import { subscribe as subscribeUI, @@ -1579,6 +1583,10 @@ initDownloadStates(); startDownloadEventListeners(); + // Initialize playback context and preferences stores + initPlaybackContextStore(); + initPlaybackPreferences(); + // Note: loadFavorites() is called in handleLoginSuccess after login is confirmed // This prevents API calls before authentication is complete