mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-25 19:51:03 +00:00
fix(YouTube - Force original language): Resolve some videos using Swedish audio track
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user