-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix forced subs #104
Fix forced subs #104
Conversation
Is this confirmed as an issue in viv? I think a better spot for the change would be in If subtitles aren't getting auto turned on for forced subtitles, that sounds more like a bug somewhere in the logic than a need to add additional check for isforced all the way up in the video player view. |
100% reproducible. I have "only forced" and watching a show with "Forced" subtitles still requires me to manually turn on subtitles (and rewind the show to re-watch what I couldn't understand) 😄
DefaultSubtitleTrack is doing its job already:
The correct subtitle track is returned. The problem is, you have to actually turn "on" subtitles on the Roku for anything to show up: "Therefore setting the global setting every time you adjust a local setting is required." Source: https://developer.roku.com/docs/developer-program/media-playback/closed-caption.md Viv already does this for "not encoded" subtitles, but it wasn't doing it for "forced" subtitles. So I only modified the section that was already doing this 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Subtitles will not be returned to their original settings if the user hits "Home" from the playing video.
That's fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works perfectly!
Fix forced subs not showing up automatically.
Changes
Forces subtitles on if the subtitles are "Forced". Remembers global Roku subtitle settings so they can be returned when the video is done playing.
Issues
Subtitles will not be returned to their original settings if the user hits "Home" from the playing video.