fix(YouTube - Force original language): Resolve some videos using Swedish audio track

This commit is contained in:
LisoUseInAIKyrios
2025-10-01 18:57:53 +04:00
parent 5a7e199162
commit 9d6731660b
2 changed files with 3 additions and 3 deletions

View File

@@ -36,8 +36,8 @@ public enum AppLanguage {
FR, FR,
GL, GL,
GU, GU,
HI,
HE, // App uses obsolete 'IW' and not the modern 'HE' ISO code. HE, // App uses obsolete 'IW' and not the modern 'HE' ISO code.
HI,
HR, HR,
HU, HU,
HY, HY,
@@ -60,9 +60,9 @@ public enum AppLanguage {
MR, MR,
MS, MS,
MY, MY,
NB,
NE, NE,
NL, NL,
NB,
OR, OR,
PA, PA,
PL, PL,

View File

@@ -24,7 +24,7 @@ public class ForceOriginalAudioPatch {
// not auto-dubbed by YouTube: https://support.google.com/youtube/answer/15569972 // not auto-dubbed by YouTube: https://support.google.com/youtube/answer/15569972
// but the language is also supported natively by the Meta Quest device that // but the language is also supported natively by the Meta Quest device that
// Android VR is spoofing. // Android VR is spoofing.
AppLanguage override = AppLanguage.SV; AppLanguage override = AppLanguage.NB; // Norwegian Bokmal.
Logger.printDebug(() -> "Setting language override: " + override); Logger.printDebug(() -> "Setting language override: " + override);
SpoofVideoStreamsPatch.setLanguageOverride(override); SpoofVideoStreamsPatch.setLanguageOverride(override);
} }