Uruk
c6bf16afdd
refactor: clean up dead code and consolidate casting utilities
...
- Remove dead Chromecast files (ChromecastMiniPlayer, chromecast-player)
- Remove dead AirPlay files (AirPlayMiniPlayer, airplay-player, useAirPlayPlayer)
- Remove duplicate AirPlay utilities (options.ts, helpers.ts)
- Consolidate unique Chromecast helpers into unified casting helpers
- Add formatEpisodeInfo and shouldShowNextEpisodeCountdown
- Update all imports to use unified casting utilities
- Fix TypeScript errors:
- Use correct MediaStatus properties (playerState vs isPaused/isBuffering)
- Use getPlaystateApi from Jellyfin SDK
- Use setStreamVolume for RemoteMediaClient
- Fix calculateEndingTime signature
- Fix segment auto-skip to use proper settings (skipIntro, skipOutro, etc)
- Remove unused imports
- Update ChromecastSettingsMenu to use unified types from casting/types.ts
2026-02-01 16:18:25 +01:00
Uruk
c234755134
feat(chromecast): add new player UI with mini player, hooks, and utilities
...
- Create ChromecastMiniPlayer component (bottom bar navigation)
- Create chromecast-player modal route with full UI
- Add useChromecastPlayer hook (playback controls & state)
- Add useChromecastSegments hook (intro/credits/segments)
- Add chromecast options (constants & config)
- Add chromecast helpers (time formatting, quality checks)
- Implement swipe-down gesture to dismiss
- Add Netflix-style buffering indicator
- Add progress tracking with trickplay support
- Add next episode countdown
- Ready for segments integration from autoskip branch
2026-02-01 16:17:06 +01:00