- MUX mode for multitrack: combine V/A via ffmpeg
- Create separate ffmpeg functions for transcoding a segment, creating a segment, etc
- Fix subtitle burnin (missing atm)
- Add library (store extracted URLs) (added history)
- Make extraction full-auto with custom manifest
- Remove FE try-catch code in favor of global error handling (try-finally can remain for loading states)
- Replace PlaybackState.(isPlaying|isPaused) with PlaybackState.State ("IDLE", "PLAYING", "PAUSED", "STOPPED")
- Do a proper seperation on
- Remote Media State:
- Holds information about URL/TrackType/TrackIndex + Which segments downloaded
- Listens to Remote Media Downloader
- Has an instance of Remote Media Downloader
- Calls Remote Media Downloader for manual download
- Remote Media Downloader
- Downloads remote media
- Needs headers and cookies from extraction
- Remote Media Server
- Configured to serve one media with
- One VideoTrack
- One AudioTrack (optional)
- One SubtitleTrack (optional)
- Calls Remote Media State to download segments as needed
- Configured to serve one media with
- Remote Media State:
- Add custom commands to
- Serve subtitles
- Adjust subtitle size