fix(YouTube - Force original language): Resolve some videos using Swedish audio track
This commit is contained in:
parent
5a7e199162
commit
9d6731660b
2 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue