Skip to content
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

Improved auto search handling #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bbviking
Copy link

@bbviking bbviking commented Dec 17, 2024

Changes:

  • Auto search uses the existing 'parse_language' function to parse the 'preferredlang' value to allow for proper handling of 'Original' and 'Forced Only' subtitle languages
  • If Kodi's subtitle language is set to 'Forced Only' then auto search will now treat it as if 'Prefer Forced' is set in a4ksubtitles
  • If Kodi's subtitle language is set to 'None' will no longer attempt auto select
  • If Kodi's language is not 'Forced Only' will now attempt to pick a subtitle that isn't forced, even if the embedded forced subtitles are marked as default
  • If the subtitle being set is the same as the currently enabled subtitles then it will no longer set it to prevent subtitle delay from switching

@bbviking bbviking requested a review from newt-sc as a code owner December 17, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant