💡Enhance "Disable auto dubbing" feature
⚬ PROBLEM: When I enable the "Disable auto dubbing" feature, it doesn't hide the auto dubbing options, it just stops them from turning on automatically, and when I enable the "defaultDubbedLanguage" option, it chooses auto dubbing option even if i have "Disable auto dubbing" enabled
⚬ SOLUTION: The "Disable auto-dubbing" feature must not only stop auto dubbing from turning on automatically, but also hide auto dubbing options completely. But if the video has real dubbing (not auto dubbing), then it must not hide dubbing options
⚬ ALTERNATIVES: I don't think that there is any better options than my suggestion
⚬ RELEVANCE / SCOPE: I think that it would be good for everyone
⚬ "SIDE EFFECTS": I think that it won't break anything
⚬ CONTEXT: // Thank you!
| SHORT Table | (Summary) |
|---|---|
| Problem | Enhance "Disable auto dubbing" feature |
| Solution | Hide auto dubbing completely |
| Alternatives | No equally good alternatives in my opinion |
| Scope | I think that it would be good for everyone |
| Side effects | I think that it won't break anything |
| Context |
Thanks for raising this, @communism420. I investigated the behaviour, and it appears that the defaultDubbedLanguage logic is bypassing the "Disable auto dubbing" check entirely when initialising the player components.
I'm planning to add a condition to hide the auto-generated tracks completely from the settings menu when the disable flag is true. I'll open a PR shortly!
thank you! @SHANip9 @communism420 @LearnAISubham7
defaultDubbedLanguage logic is bypassing the "Disable auto dubbing" check
so they can consider each other or if necessary we could make the switched visually disable each other.
hide the auto-generated tracks
hiding might not prevent selection through the other feature.
not everybody, who wants to disable the automatic selection, also wants to hide to have the option to select it manually sometimes. so this can be a suboption to the main feature, when the feature is enabled (and also appear further down the list in player appearance settings)