jf-roku/source
cthelight 39dad7666c Subtitles: Auto-select default option
On other players (web/andriod app) the user perferences for
subtitle behavior are taken into account, and used to make an
assumption about subtitle behavior.

This patch ports most of that logic here. "Smart" selection is not
yet fully-featured, as it requires additional knowledge about audio
language preferences. Rather it uses the fallback mechanism, which
emulates the "Default" subtitle option.

The logic for the different options was based on the main jellyfin
repo (specifically sha 49d5fdb33fc9792147c1df03e1d1b051e6b7ec79 in
file Emby.Server.Implementations/Library/MediaStreamSelector.cs)

Additionally, this implementation specifically prefers text-based
subtitles (assuming they match the user's preference) as they are
the only ones natively supported by Roku.

Also, the subtitle changing mechanism is reworked slightly to make
use of the new implementation herein
2022-05-22 17:08:54 -05:00
..
api Favorite a Live TV Channel (#584) 2022-05-14 11:13:28 +01:00
utils Subtitles: Auto-select default option 2022-05-22 17:08:54 -05:00
Main.brs Ensure Movie Details focus returns to button row after popup 2022-05-10 08:04:23 +01:00
ShowScenes.brs Subtitles: Auto-select default option 2022-05-22 17:08:54 -05:00
VideoPlayer.brs Subtitles: Auto-select default option 2022-05-22 17:08:54 -05:00