feat(casting): complete all remaining TODOs

- Expose RemoteMediaClient from useCasting for advanced operations
- Implement episode fetching from Jellyfin API for TV shows
- Add next episode detection with countdown UI showing episode name
- Wire audio/subtitle track changes to RemoteMediaClient.setActiveTrackIds
- Wire playback speed to RemoteMediaClient.setPlaybackRate
- Add tap-to-seek functionality to progress bar
- Update segment skip buttons to use remoteMediaClient seek wrapper
- Create comprehensive AirPlay implementation documentation

All casting system features are now complete before PR submission.
This commit is contained in:
Uruk
2026-01-19 22:52:46 +01:00
parent 72e7644aa2
commit 05ac246ec0
3 changed files with 390 additions and 37 deletions

View File

@@ -287,6 +287,9 @@ export const useCasting = (item: BaseItemDto | null) => {
isChromecastAvailable: true, // Always available via react-native-google-cast
isAirPlayAvailable: Platform.OS === "ios",
// Raw clients (for advanced operations)
remoteMediaClient: client,
// Controls
play,
pause,