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

Fixed: Multisubs wrongly detected as hardcoded #10024

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

Conversation

namakeingo
Copy link

As flagged by multiple people before "Multisubs" (same as Multisub) is a commonly used Tag (common enough that 1337x has the maximum number of pages brought back searching multisubs for example) that indicates that the file has more than 3 subtitle languages. Multisubs never indicate a hardcoded sub as you cannot have a multisubs where you can select between different languages if the subtitles are hardcoded in video. This minor change excludes "MULTISUBS" from the regex used.

Database Migration

NO

Description

"MULTISUBS" should not be identified as Hardcoded Subs

Todos

  • Tests
    - [ ] Translation Keys (./src/NzbDrone.Core/Localization/Core/en.json) not applicable
    - [ ] Wiki Updates not applicable

Issues Fixed or Closed by this PR

There are no open issues, but there are issues closed with workarounds using "Settings -> Indexers -> Whitelisted Subtitle Tags"
#3092
#1974

Also, #1208 is related although it was a feature request for the "Allow Hardcoded Subs" toggle

Additional Notes

"MSUBS" (as seen in #3092) is also a possible shortened version of MULTISUBS. I did not currently exclude it in the regex as it sounds too generic and less common than the unshortened version. If you disagree I can exclude 'MSUBS' too as part of this PR

@github-actions github-actions bot added the Area: Parser Issue is related to parsing infrastructure. label May 14, 2024
@namakeingo namakeingo changed the title Fixed: Mutlisubs wrongly detected as hardcoded Fixed: Multisubs wrongly detected as hardcoded May 14, 2024
As flagged by multiple people before "Multisubs" is a commonly used Tag that indicates that the file has more than 3 subtitle languages. Multisubs never indicate a hardcoded sub as you cannot have a multisubs where you can select between different languages if the subtitles are hardcoded in the video. This minor change excludes "MULTISUBS" from the regex used.
@namakeingo namakeingo force-pushed the fix-bug-multisubs-wrongly-detected-as-hardcoded branch from eace008 to 528ff60 Compare May 14, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Parser Issue is related to parsing infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant