-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
Prefer language settings #87 #89
Conversation
replaced UserDefaults.default with Defaults add prefer language settings
Would these options apply across all media? Is there anything sever side to have preferences apply to an entire series, e.g a show to have a preference of no subtitles but prefer subtitles for everything else |
Currently, the settings are applied to the entire video. |
selectedAudioTrack = audio.id | ||
mediaPlayer.currentAudioTrackIndex = audio.id | ||
} else if audio.langCode.contains(Defaults[.autoSelectAudioLangCode]) { | ||
if audio.langCode.contains(Defaults[.autoSelectAudioLangCode]) { | ||
selectedAudioTrack = audio.id |
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.
There is also a function to set either the audio or subtitle tracks
Fix formatting
oh build error.. sry wait a min |
Changed
UserDefaults.default
withDefaults