As a user I would like to be able to control which subtitles, audio tracks and qualities are downloaded so that I can optimize download size and device free space.
Remark
- The system player UI seems to filter out locally unavailable renditions, our
Player APIs currently probably don't and will provide all renditions from offline persisted playlists, even if these renditions have not been downloaded.
- We should ensure the player never attempts loading unavailable renditions, otherwise playback will start with a "No network" error. To test:
- Download a content with only selected subtitles downloaded.
- Pick subtitles that are not available. If online they will be displayed and content will play just fine.
- Close the player and disconnect the network. When opening the player previous subtitles will be restored. If not available and incorrectly not filtered, playback fails with a "No network" error.
Acceptance criteria
- An API to select renditions is available.
- Automatic selection is correctly taken into account.
- AD and SDH preferences are correctly taken into account.
- Rendition selection is possible based on media selections and variant qualifiers.
- Renditions can be managed if possible (e.g. later download another rendition, delete a rendition).
- The demo provides a way to customize rendition selection (e.g. global setting or at the time a download is started) or management if possible (e.g. from a dedicated contextual menu).
Tasks
As a user I would like to be able to control which subtitles, audio tracks and qualities are downloaded so that I can optimize download size and device free space.
Remark
PlayerAPIs currently probably don't and will provide all renditions from offline persisted playlists, even if these renditions have not been downloaded.Acceptance criteria
Tasks