mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-23 10:41:03 +00:00
Compare commits
15 Commits
v5.12.0-de
...
v5.12.0-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
905bb0ea5f | ||
|
|
a94a663859 | ||
|
|
04b37dd55a | ||
|
|
2382e9d09e | ||
|
|
97f504976a | ||
|
|
0a6c5158e0 | ||
|
|
a959d798e8 | ||
|
|
39a0b9bda6 | ||
|
|
92c38b2cb4 | ||
|
|
4732210d4b | ||
|
|
f30a49f1cb | ||
|
|
bcd157dd2b | ||
|
|
d299ea5973 | ||
|
|
a20021e290 | ||
|
|
373ca966f3 |
33
CHANGELOG.md
33
CHANGELOG.md
@@ -1,3 +1,36 @@
|
|||||||
|
# [5.12.0-dev.7](https://github.com/ReVanced/revanced-patches/compare/v5.12.0-dev.6...v5.12.0-dev.7) (2025-02-16)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **YouTube - Spoof video streams:** Change default client to `Android TV` ([#4465](https://github.com/ReVanced/revanced-patches/issues/4465)) ([0412c79](https://github.com/ReVanced/revanced-patches/commit/0412c7901dc8599b6079d9c3ba26452f88af642b))
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **YouTube Music:** Support version `8.05.51` ([128441e](https://github.com/ReVanced/revanced-patches/commit/128441e78bc0d096c3fc2f57782ab90c39c3ae4b))
|
||||||
|
|
||||||
|
# [5.12.0-dev.6](https://github.com/ReVanced/revanced-patches/compare/v5.12.0-dev.5...v5.12.0-dev.6) (2025-02-16)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Allow changing default settings for existing app installs ([#4464](https://github.com/ReVanced/revanced-patches/issues/4464)) ([1bd7986](https://github.com/ReVanced/revanced-patches/commit/1bd7986823e774a929c8a9102a7cc96e245d5274))
|
||||||
|
|
||||||
|
# [5.12.0-dev.5](https://github.com/ReVanced/revanced-patches/compare/v5.12.0-dev.4...v5.12.0-dev.5) (2025-02-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **YouTube:** Remove obsolete 18.x targets ([#4454](https://github.com/ReVanced/revanced-patches/issues/4454)) ([a006758](https://github.com/ReVanced/revanced-patches/commit/a0067581d0f877e1b4eb1f888a25786f09676b2e))
|
||||||
|
|
||||||
|
# [5.12.0-dev.4](https://github.com/ReVanced/revanced-patches/compare/v5.12.0-dev.3...v5.12.0-dev.4) (2025-02-11)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **YouTube Music:** Support version `8.05.50` ([#4439](https://github.com/ReVanced/revanced-patches/issues/4439)) ([b31fed9](https://github.com/ReVanced/revanced-patches/commit/b31fed98901fcda1bce6f05eb0de63280c689fa0))
|
||||||
|
|
||||||
# [5.12.0-dev.3](https://github.com/ReVanced/revanced-patches/compare/v5.12.0-dev.2...v5.12.0-dev.3) (2025-02-11)
|
# [5.12.0-dev.3](https://github.com/ReVanced/revanced-patches/compare/v5.12.0-dev.2...v5.12.0-dev.3) (2025-02-11)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,6 @@ public class BaseSettings {
|
|||||||
public static final BooleanSetting SPOOF_VIDEO_STREAMS_IOS_FORCE_AVC = new BooleanSetting("revanced_spoof_video_streams_ios_force_avc", FALSE, true,
|
public static final BooleanSetting SPOOF_VIDEO_STREAMS_IOS_FORCE_AVC = new BooleanSetting("revanced_spoof_video_streams_ios_force_avc", FALSE, true,
|
||||||
"revanced_spoof_video_streams_ios_force_avc_user_dialog_message", new SpoofiOSAvailability());
|
"revanced_spoof_video_streams_ios_force_avc_user_dialog_message", new SpoofiOSAvailability());
|
||||||
// Client type must be last spoof setting due to cyclic references.
|
// Client type must be last spoof setting due to cyclic references.
|
||||||
public static final EnumSetting<ClientType> SPOOF_VIDEO_STREAMS_CLIENT_TYPE = new EnumSetting<>("revanced_spoof_video_streams_client_type", ClientType.ANDROID_VR, true, parent(SPOOF_VIDEO_STREAMS));
|
public static final EnumSetting<ClientType> SPOOF_VIDEO_STREAMS_CLIENT_TYPE = new EnumSetting<>("revanced_spoof_video_streams_client_type", ClientType.ANDROID_UNPLUGGED, true, parent(SPOOF_VIDEO_STREAMS));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ public class BooleanSetting extends Setting<Boolean> {
|
|||||||
*/
|
*/
|
||||||
public static void privateSetValue(@NonNull BooleanSetting setting, @NonNull Boolean newValue) {
|
public static void privateSetValue(@NonNull BooleanSetting setting, @NonNull Boolean newValue) {
|
||||||
setting.value = Objects.requireNonNull(newValue);
|
setting.value = Objects.requireNonNull(newValue);
|
||||||
|
|
||||||
|
if (setting.isSetToDefault()) {
|
||||||
|
setting.removeFromPreferences();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -65,10 +69,8 @@ public class BooleanSetting extends Setting<Boolean> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(@NonNull Boolean newValue) {
|
public void saveToPreferences() {
|
||||||
// Must set before saving to preferences (otherwise importing fails to update UI correctly).
|
preferences.saveBoolean(key, value);
|
||||||
value = Objects.requireNonNull(newValue);
|
|
||||||
preferences.saveBoolean(key, newValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|||||||
@@ -89,10 +89,8 @@ public class EnumSetting<T extends Enum<?>> extends Setting<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(@NonNull T newValue) {
|
public void saveToPreferences() {
|
||||||
// Must set before saving to preferences (otherwise importing fails to update UI correctly).
|
preferences.saveEnumAsString(key, value);
|
||||||
value = Objects.requireNonNull(newValue);
|
|
||||||
preferences.saveEnumAsString(key, newValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|||||||
@@ -55,10 +55,8 @@ public class FloatSetting extends Setting<Float> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(@NonNull Float newValue) {
|
public void saveToPreferences() {
|
||||||
// Must set before saving to preferences (otherwise importing fails to update UI correctly).
|
preferences.saveFloatString(key, value);
|
||||||
value = Objects.requireNonNull(newValue);
|
|
||||||
preferences.saveFloatString(key, newValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|||||||
@@ -55,10 +55,8 @@ public class IntegerSetting extends Setting<Integer> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(@NonNull Integer newValue) {
|
public void saveToPreferences() {
|
||||||
// Must set before saving to preferences (otherwise importing fails to update UI correctly).
|
preferences.saveIntegerString(key, value);
|
||||||
value = Objects.requireNonNull(newValue);
|
|
||||||
preferences.saveIntegerString(key, newValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|||||||
@@ -55,10 +55,8 @@ public class LongSetting extends Setting<Long> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(@NonNull Long newValue) {
|
public void saveToPreferences() {
|
||||||
// Must set before saving to preferences (otherwise importing fails to update UI correctly).
|
preferences.saveLongString(key, value);
|
||||||
value = Objects.requireNonNull(newValue);
|
|
||||||
preferences.saveLongString(key, newValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import java.util.*;
|
|||||||
|
|
||||||
import static app.revanced.extension.shared.StringRef.str;
|
import static app.revanced.extension.shared.StringRef.str;
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
|
||||||
public abstract class Setting<T> {
|
public abstract class Setting<T> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -288,6 +287,13 @@ public abstract class Setting<T> {
|
|||||||
*/
|
*/
|
||||||
public static void privateSetValueFromString(@NonNull Setting<?> setting, @NonNull String newValue) {
|
public static void privateSetValueFromString(@NonNull Setting<?> setting, @NonNull String newValue) {
|
||||||
setting.setValueFromString(newValue);
|
setting.setValueFromString(newValue);
|
||||||
|
|
||||||
|
// Clear the preference value since default is used, to allow changing
|
||||||
|
// the changing the default for a future release. Without this after upgrading
|
||||||
|
// the saved value will be whatever was the default when the app was first installed.
|
||||||
|
if (setting.isSetToDefault()) {
|
||||||
|
setting.removeFromPreferences();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -303,7 +309,33 @@ public abstract class Setting<T> {
|
|||||||
/**
|
/**
|
||||||
* Persistently saves the value.
|
* Persistently saves the value.
|
||||||
*/
|
*/
|
||||||
public abstract void save(@NonNull T newValue);
|
public final void save(@NonNull T newValue) {
|
||||||
|
if (value.equals(newValue)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Must set before saving to preferences (otherwise importing fails to update UI correctly).
|
||||||
|
value = Objects.requireNonNull(newValue);
|
||||||
|
|
||||||
|
if (defaultValue.equals(newValue)) {
|
||||||
|
removeFromPreferences();
|
||||||
|
} else {
|
||||||
|
saveToPreferences();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Save {@link #value} to {@link #preferences}.
|
||||||
|
*/
|
||||||
|
protected abstract void saveToPreferences();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove {@link #value} from {@link #preferences}.
|
||||||
|
*/
|
||||||
|
protected final void removeFromPreferences() {
|
||||||
|
Logger.printDebug(() -> "Clearing stored preference value (reset to default): " + key);
|
||||||
|
preferences.removeKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
public abstract T get();
|
public abstract T get();
|
||||||
|
|||||||
@@ -55,10 +55,8 @@ public class StringSetting extends Setting<String> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(@NonNull String newValue) {
|
public void saveToPreferences() {
|
||||||
// Must set before saving to preferences (otherwise importing fails to update UI correctly).
|
preferences.saveString(key, value);
|
||||||
value = Objects.requireNonNull(newValue);
|
|
||||||
preferences.saveString(key, newValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|||||||
@@ -66,22 +66,6 @@ public enum ClientType {
|
|||||||
true,
|
true,
|
||||||
"Android Creator"
|
"Android Creator"
|
||||||
),
|
),
|
||||||
ANDROID_VR(
|
|
||||||
ANDROID_VR_NO_AUTH.id,
|
|
||||||
ANDROID_VR_NO_AUTH.clientName,
|
|
||||||
ANDROID_VR_NO_AUTH.packageName,
|
|
||||||
ANDROID_VR_NO_AUTH.deviceMake,
|
|
||||||
ANDROID_VR_NO_AUTH.deviceModel,
|
|
||||||
ANDROID_VR_NO_AUTH.osName,
|
|
||||||
ANDROID_VR_NO_AUTH.osVersion,
|
|
||||||
ANDROID_VR_NO_AUTH.androidSdkVersion,
|
|
||||||
ANDROID_VR_NO_AUTH.buildId,
|
|
||||||
ANDROID_VR_NO_AUTH.cronetVersion,
|
|
||||||
ANDROID_VR_NO_AUTH.clientVersion,
|
|
||||||
ANDROID_VR_NO_AUTH.requiresAuth,
|
|
||||||
true,
|
|
||||||
"Android VR"
|
|
||||||
),
|
|
||||||
IOS_UNPLUGGED(
|
IOS_UNPLUGGED(
|
||||||
33,
|
33,
|
||||||
"IOS_UNPLUGGED",
|
"IOS_UNPLUGGED",
|
||||||
@@ -112,6 +96,22 @@ public enum ClientType {
|
|||||||
forceAVC()
|
forceAVC()
|
||||||
? "iOS TV Force AVC"
|
? "iOS TV Force AVC"
|
||||||
: "iOS TV"
|
: "iOS TV"
|
||||||
|
),
|
||||||
|
ANDROID_VR_AUTH(
|
||||||
|
ANDROID_VR_NO_AUTH.id,
|
||||||
|
ANDROID_VR_NO_AUTH.clientName,
|
||||||
|
ANDROID_VR_NO_AUTH.packageName,
|
||||||
|
ANDROID_VR_NO_AUTH.deviceMake,
|
||||||
|
ANDROID_VR_NO_AUTH.deviceModel,
|
||||||
|
ANDROID_VR_NO_AUTH.osName,
|
||||||
|
ANDROID_VR_NO_AUTH.osVersion,
|
||||||
|
ANDROID_VR_NO_AUTH.androidSdkVersion,
|
||||||
|
ANDROID_VR_NO_AUTH.buildId,
|
||||||
|
ANDROID_VR_NO_AUTH.cronetVersion,
|
||||||
|
ANDROID_VR_NO_AUTH.clientVersion,
|
||||||
|
ANDROID_VR_NO_AUTH.requiresAuth,
|
||||||
|
true,
|
||||||
|
"Android VR"
|
||||||
);
|
);
|
||||||
|
|
||||||
private static boolean forceAVC() {
|
private static boolean forceAVC() {
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ public class SpoofStreamingDataSideEffectsPreference extends Preference {
|
|||||||
String summary = str(key + "_summary");
|
String summary = str(key + "_summary");
|
||||||
|
|
||||||
// Android VR supports AV1 but all other clients do not.
|
// Android VR supports AV1 but all other clients do not.
|
||||||
if (clientType != ClientType.ANDROID_VR && clientType != ClientType.ANDROID_VR_NO_AUTH) {
|
if (clientType != ClientType.ANDROID_VR_AUTH && clientType != ClientType.ANDROID_VR_NO_AUTH) {
|
||||||
summary += '\n' + str("revanced_spoof_video_streams_about_no_av1");
|
summary += '\n' + str("revanced_spoof_video_streams_about_no_av1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ org.gradle.jvmargs = -Xms512M -Xmx2048M
|
|||||||
org.gradle.parallel = true
|
org.gradle.parallel = true
|
||||||
android.useAndroidX = true
|
android.useAndroidX = true
|
||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 5.12.0-dev.3
|
version = 5.12.0-dev.7
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ revanced-patcher = "21.0.0"
|
|||||||
# Tracking https://github.com/google/smali/issues/64.
|
# Tracking https://github.com/google/smali/issues/64.
|
||||||
#noinspection GradleDependency
|
#noinspection GradleDependency
|
||||||
smali = "3.0.5"
|
smali = "3.0.5"
|
||||||
gson = "2.11.0"
|
|
||||||
# 8.3.0 causes java verifier error: https://github.com/ReVanced/revanced-patches/issues/2818.
|
# 8.3.0 causes java verifier error: https://github.com/ReVanced/revanced-patches/issues/2818.
|
||||||
#noinspection GradleDependency
|
#noinspection GradleDependency
|
||||||
agp = "8.2.2"
|
agp = "8.2.2"
|
||||||
@@ -11,10 +10,9 @@ annotation = "1.9.1"
|
|||||||
appcompat = "1.7.0"
|
appcompat = "1.7.0"
|
||||||
okhttp = "5.0.0-alpha.14"
|
okhttp = "5.0.0-alpha.14"
|
||||||
retrofit = "2.11.0"
|
retrofit = "2.11.0"
|
||||||
guava = "33.2.1-jre"
|
guava = "33.4.0-jre"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
|
|
||||||
annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" }
|
annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" }
|
||||||
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
||||||
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
|
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ patches {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// Used by JsonGenerator.
|
|
||||||
implementation(libs.gson)
|
|
||||||
// Required due to smali, or build fails. Can be removed once smali is bumped.
|
// Required due to smali, or build fails. Can be removed once smali is bumped.
|
||||||
implementation(libs.guava)
|
implementation(libs.guava)
|
||||||
// Android API stubs defined here.
|
// Android API stubs defined here.
|
||||||
|
|||||||
@@ -8,7 +8,12 @@ val hideVideoAdsPatch = bytecodePatch(
|
|||||||
name = "Hide music video ads",
|
name = "Hide music video ads",
|
||||||
description = "Hides ads that appear while listening to or streaming music videos, podcasts, or songs.",
|
description = "Hides ads that appear while listening to or streaming music videos, podcasts, or songs.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.google.android.apps.youtube.music")
|
compatibleWith(
|
||||||
|
"com.google.android.apps.youtube.music"(
|
||||||
|
"7.16.53",
|
||||||
|
"8.05.51"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
navigate(showVideoAdsParentFingerprint.originalMethod)
|
navigate(showVideoAdsParentFingerprint.originalMethod)
|
||||||
|
|||||||
@@ -1,24 +1,21 @@
|
|||||||
package app.revanced.patches.music.audio.exclusiveaudio
|
package app.revanced.patches.music.audio.exclusiveaudio
|
||||||
|
|
||||||
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
|
||||||
import app.revanced.patcher.patch.bytecodePatch
|
import app.revanced.patcher.patch.bytecodePatch
|
||||||
|
import app.revanced.util.returnEarly
|
||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
val enableExclusiveAudioPlaybackPatch = bytecodePatch(
|
val enableExclusiveAudioPlaybackPatch = bytecodePatch(
|
||||||
name = "Enable exclusive audio playback",
|
name = "Enable exclusive audio playback",
|
||||||
description = "Enables the option to play audio without video.",
|
description = "Enables the option to play audio without video.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.google.android.apps.youtube.music")
|
compatibleWith(
|
||||||
|
"com.google.android.apps.youtube.music"(
|
||||||
|
"7.16.53",
|
||||||
|
"8.05.51"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
allowExclusiveAudioPlaybackFingerprint.method.apply {
|
allowExclusiveAudioPlaybackFingerprint.method.returnEarly(true)
|
||||||
addInstructions(
|
|
||||||
0,
|
|
||||||
"""
|
|
||||||
const/4 v0, 0x1
|
|
||||||
return v0
|
|
||||||
""",
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,16 +9,15 @@ internal val allowExclusiveAudioPlaybackFingerprint = fingerprint {
|
|||||||
returns("Z")
|
returns("Z")
|
||||||
parameters()
|
parameters()
|
||||||
opcodes(
|
opcodes(
|
||||||
|
Opcode.INVOKE_INTERFACE,
|
||||||
|
Opcode.MOVE_RESULT_OBJECT,
|
||||||
|
Opcode.IGET_OBJECT,
|
||||||
Opcode.INVOKE_VIRTUAL,
|
Opcode.INVOKE_VIRTUAL,
|
||||||
Opcode.MOVE_RESULT_OBJECT,
|
Opcode.MOVE_RESULT_OBJECT,
|
||||||
Opcode.CHECK_CAST,
|
Opcode.CHECK_CAST,
|
||||||
Opcode.IF_NEZ,
|
Opcode.IF_NEZ,
|
||||||
Opcode.IGET_OBJECT,
|
Opcode.IGET_OBJECT,
|
||||||
Opcode.INVOKE_VIRTUAL,
|
Opcode.INVOKE_VIRTUAL,
|
||||||
Opcode.MOVE_RESULT,
|
Opcode.MOVE_RESULT
|
||||||
Opcode.GOTO,
|
|
||||||
Opcode.INVOKE_VIRTUAL,
|
|
||||||
Opcode.MOVE_RESULT,
|
|
||||||
Opcode.RETURN
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -11,10 +11,14 @@ val permanentRepeatPatch = bytecodePatch(
|
|||||||
description = "Permanently remember your repeating preference even if the playlist ends or another track is played.",
|
description = "Permanently remember your repeating preference even if the playlist ends or another track is played.",
|
||||||
use = false,
|
use = false,
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.google.android.apps.youtube.music")
|
compatibleWith(
|
||||||
|
"com.google.android.apps.youtube.music"(
|
||||||
|
"7.16.53",
|
||||||
|
"8.05.51"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
|
|
||||||
val startIndex = repeatTrackFingerprint.patternMatch!!.endIndex
|
val startIndex = repeatTrackFingerprint.patternMatch!!.endIndex
|
||||||
val repeatIndex = startIndex + 1
|
val repeatIndex = startIndex + 1
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,12 @@ val hideCategoryBar = bytecodePatch(
|
|||||||
description = "Hides the category bar at the top of the homepage.",
|
description = "Hides the category bar at the top of the homepage.",
|
||||||
use = false,
|
use = false,
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.google.android.apps.youtube.music")
|
compatibleWith(
|
||||||
|
"com.google.android.apps.youtube.music"(
|
||||||
|
"7.16.53",
|
||||||
|
"8.05.51"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
constructCategoryBarFingerprint.method.apply {
|
constructCategoryBarFingerprint.method.apply {
|
||||||
|
|||||||
@@ -11,7 +11,12 @@ val hideGetPremiumPatch = bytecodePatch(
|
|||||||
name = "Hide 'Get Music Premium' label",
|
name = "Hide 'Get Music Premium' label",
|
||||||
description = "Hides the \"Get Music Premium\" label from the account menu and settings.",
|
description = "Hides the \"Get Music Premium\" label from the account menu and settings.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.google.android.apps.youtube.music")
|
compatibleWith(
|
||||||
|
"com.google.android.apps.youtube.music"(
|
||||||
|
"7.16.53",
|
||||||
|
"8.05.51"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
hideGetPremiumFingerprint.method.apply {
|
hideGetPremiumFingerprint.method.apply {
|
||||||
|
|||||||
@@ -18,7 +18,12 @@ val removeUpgradeButtonPatch = bytecodePatch(
|
|||||||
name = "Remove upgrade button",
|
name = "Remove upgrade button",
|
||||||
description = "Removes the upgrade tab from the pivot bar.",
|
description = "Removes the upgrade tab from the pivot bar.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.google.android.apps.youtube.music")
|
compatibleWith(
|
||||||
|
"com.google.android.apps.youtube.music"(
|
||||||
|
"7.16.53",
|
||||||
|
"8.05.51"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
pivotBarConstructorFingerprint.method.apply {
|
pivotBarConstructorFingerprint.method.apply {
|
||||||
|
|||||||
@@ -8,7 +8,12 @@ val bypassCertificateChecksPatch = bytecodePatch(
|
|||||||
name = "Bypass certificate checks",
|
name = "Bypass certificate checks",
|
||||||
description = "Bypasses certificate checks which prevent YouTube Music from working on Android Auto.",
|
description = "Bypasses certificate checks which prevent YouTube Music from working on Android Auto.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.google.android.apps.youtube.music"("7.29.52"))
|
compatibleWith(
|
||||||
|
"com.google.android.apps.youtube.music"(
|
||||||
|
"7.16.53",
|
||||||
|
"8.05.51"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
checkCertificateFingerprint.method.returnEarly(true)
|
checkCertificateFingerprint.method.returnEarly(true)
|
||||||
|
|||||||
@@ -4,8 +4,10 @@ import com.android.tools.smali.dexlib2.AccessFlags
|
|||||||
import app.revanced.patcher.fingerprint
|
import app.revanced.patcher.fingerprint
|
||||||
|
|
||||||
internal val checkCertificateFingerprint = fingerprint {
|
internal val checkCertificateFingerprint = fingerprint {
|
||||||
accessFlags(AccessFlags.PUBLIC, AccessFlags.FINAL)
|
|
||||||
returns("Z")
|
returns("Z")
|
||||||
parameters("Ljava/lang/String;")
|
parameters("Ljava/lang/String;")
|
||||||
strings("X509", "Failed to get certificate.")
|
strings(
|
||||||
|
"X509",
|
||||||
|
"Failed to get certificate" // Partial String match.
|
||||||
|
)
|
||||||
}
|
}
|
||||||
@@ -8,7 +8,12 @@ val backgroundPlaybackPatch = bytecodePatch(
|
|||||||
name = "Remove background playback restrictions",
|
name = "Remove background playback restrictions",
|
||||||
description = "Removes restrictions on background playback, including playing kids videos in the background.",
|
description = "Removes restrictions on background playback, including playing kids videos in the background.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.google.android.apps.youtube.music")
|
compatibleWith(
|
||||||
|
"com.google.android.apps.youtube.music"(
|
||||||
|
"7.16.53",
|
||||||
|
"8.05.51"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
kidsBackgroundPlaybackPolicyControllerFingerprint.method.addInstruction(
|
kidsBackgroundPlaybackPolicyControllerFingerprint.method.addInstruction(
|
||||||
|
|||||||
@@ -25,7 +25,12 @@ val spoofClientPatch = bytecodePatch(
|
|||||||
name = "Spoof client",
|
name = "Spoof client",
|
||||||
description = "Spoofs the client to fix playback.",
|
description = "Spoofs the client to fix playback.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.google.android.apps.youtube.music")
|
compatibleWith(
|
||||||
|
"com.google.android.apps.youtube.music"(
|
||||||
|
"7.16.53",
|
||||||
|
"8.05.51"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
dependsOn(
|
dependsOn(
|
||||||
sharedExtensionPatch,
|
sharedExtensionPatch,
|
||||||
|
|||||||
@@ -78,8 +78,6 @@ val hideAdsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -25,8 +25,6 @@ val hideGetPremiumPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ val videoAdsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -53,8 +53,6 @@ val copyVideoUrlPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ val removeViewerDiscretionDialogPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -68,8 +68,6 @@ val downloadsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ val disablePreciseSeekingGesturePatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -26,8 +26,6 @@ val enableSeekbarTappingPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
// 18.38.44 patches but crashes on startup.
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ val enableSlideToSeekPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ private const val EXTENSION_CLASS_DESCRIPTOR =
|
|||||||
val seekbarThumbnailsPatch = bytecodePatch(
|
val seekbarThumbnailsPatch = bytecodePatch(
|
||||||
name = "Seekbar thumbnails",
|
name = "Seekbar thumbnails",
|
||||||
description = "Adds an option to use high quality fullscreen seekbar thumbnails. " +
|
description = "Adds an option to use high quality fullscreen seekbar thumbnails. " +
|
||||||
"Patching 19.16.39 or lower adds an option to restore old seekbar thumbnails.",
|
"Patching 19.16.39 adds an option to restore old seekbar thumbnails.",
|
||||||
) {
|
) {
|
||||||
dependsOn(
|
dependsOn(
|
||||||
sharedExtensionPatch,
|
sharedExtensionPatch,
|
||||||
@@ -29,8 +29,6 @@ val seekbarThumbnailsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -74,8 +74,6 @@ val swipeControlsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ val autoCaptionsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -43,8 +43,6 @@ val customBrandingPatch = resourcePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -41,8 +41,6 @@ val changeHeaderPatch = resourcePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ val hideButtonsPatch = resourcePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -40,8 +40,6 @@ val navigationButtonsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -54,8 +54,6 @@ val hidePlayerOverlayButtonsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -30,8 +30,6 @@ val changeFormFactorPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -56,8 +56,6 @@ val hideEndscreenCardsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -29,8 +29,6 @@ val disableFullscreenAmbientModePatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -125,8 +125,6 @@ val hideLayoutComponentsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -57,8 +57,6 @@ val hideInfoCardsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ val hidePlayerFlyoutMenuPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -29,8 +29,6 @@ val disableRollingNumberAnimationPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
// 18.43 is the earliest target this patch works.
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -25,8 +25,6 @@ val hideSeekbarPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -30,12 +30,6 @@ internal val createShortsButtonsFingerprint = fingerprint {
|
|||||||
literal { reelPlayerRightCellButtonHeight }
|
literal { reelPlayerRightCellButtonHeight }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val reelConstructorFingerprint = fingerprint {
|
|
||||||
accessFlags(AccessFlags.PUBLIC, AccessFlags.CONSTRUCTOR)
|
|
||||||
opcodes(Opcode.INVOKE_VIRTUAL)
|
|
||||||
literal { reelMultipleItemShelfId }
|
|
||||||
}
|
|
||||||
|
|
||||||
internal val renderBottomNavigationBarFingerprint = fingerprint {
|
internal val renderBottomNavigationBarFingerprint = fingerprint {
|
||||||
returns("V")
|
returns("V")
|
||||||
parameters("Ljava/lang/String;")
|
parameters("Ljava/lang/String;")
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ import app.revanced.patches.youtube.misc.extension.sharedExtensionPatch
|
|||||||
import app.revanced.patches.youtube.misc.litho.filter.addLithoFilter
|
import app.revanced.patches.youtube.misc.litho.filter.addLithoFilter
|
||||||
import app.revanced.patches.youtube.misc.litho.filter.lithoFilterPatch
|
import app.revanced.patches.youtube.misc.litho.filter.lithoFilterPatch
|
||||||
import app.revanced.patches.youtube.misc.navigation.navigationBarHookPatch
|
import app.revanced.patches.youtube.misc.navigation.navigationBarHookPatch
|
||||||
import app.revanced.patches.youtube.misc.playservice.is_19_03_or_greater
|
|
||||||
import app.revanced.patches.youtube.misc.playservice.is_19_41_or_greater
|
import app.revanced.patches.youtube.misc.playservice.is_19_41_or_greater
|
||||||
import app.revanced.patches.youtube.misc.playservice.versionCheckPatch
|
import app.revanced.patches.youtube.misc.playservice.versionCheckPatch
|
||||||
import app.revanced.patches.youtube.misc.settings.PreferenceScreen
|
import app.revanced.patches.youtube.misc.settings.PreferenceScreen
|
||||||
@@ -27,11 +26,8 @@ import app.revanced.util.*
|
|||||||
import com.android.tools.smali.dexlib2.Opcode
|
import com.android.tools.smali.dexlib2.Opcode
|
||||||
import com.android.tools.smali.dexlib2.iface.instruction.FiveRegisterInstruction
|
import com.android.tools.smali.dexlib2.iface.instruction.FiveRegisterInstruction
|
||||||
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
|
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
|
||||||
import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
|
|
||||||
import com.android.tools.smali.dexlib2.iface.reference.MethodReference
|
import com.android.tools.smali.dexlib2.iface.reference.MethodReference
|
||||||
|
|
||||||
internal var reelMultipleItemShelfId = -1L
|
|
||||||
private set
|
|
||||||
internal var reelPlayerRightCellButtonHeight = -1L
|
internal var reelPlayerRightCellButtonHeight = -1L
|
||||||
private set
|
private set
|
||||||
internal var bottomBarContainer = -1L
|
internal var bottomBarContainer = -1L
|
||||||
@@ -155,13 +151,6 @@ private val hideShortsComponentsResourcePatch = resourcePatch {
|
|||||||
"dimen",
|
"dimen",
|
||||||
"reel_player_right_pivot_v2_size",
|
"reel_player_right_pivot_v2_size",
|
||||||
]
|
]
|
||||||
|
|
||||||
if (!is_19_03_or_greater) {
|
|
||||||
reelMultipleItemShelfId = resourceMappings[
|
|
||||||
"dimen",
|
|
||||||
"reel_player_right_cell_button_height",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -183,8 +172,6 @@ val hideShortsComponentsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
@@ -199,25 +186,6 @@ val hideShortsComponentsPatch = bytecodePatch(
|
|||||||
hideShortsWidgetOption()
|
hideShortsWidgetOption()
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
// region Hide the Shorts shelf.
|
|
||||||
|
|
||||||
// This patch point is not present in 19.03.x and greater.
|
|
||||||
if (!is_19_03_or_greater && reelConstructorFingerprint.methodOrNull != null) {
|
|
||||||
reelConstructorFingerprint.method.apply {
|
|
||||||
val insertIndex = reelConstructorFingerprint.patternMatch!!.startIndex + 2
|
|
||||||
val viewRegister = getInstruction<TwoRegisterInstruction>(insertIndex).registerA
|
|
||||||
|
|
||||||
injectHideViewCall(
|
|
||||||
insertIndex,
|
|
||||||
viewRegister,
|
|
||||||
FILTER_CLASS_DESCRIPTOR,
|
|
||||||
"hideShortsShelf",
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Hide the Shorts buttons in older versions of YouTube.
|
// region Hide the Shorts buttons in older versions of YouTube.
|
||||||
|
|
||||||
// Some Shorts buttons are views, hide them by setting their visibility to GONE.
|
// Some Shorts buttons are views, hide them by setting their visibility to GONE.
|
||||||
|
|||||||
@@ -54,8 +54,6 @@ val disableSuggestedVideoEndScreenPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ val hideTimestampPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -79,53 +79,52 @@ private val miniplayerResourcePatch = resourcePatch {
|
|||||||
"player_overlays",
|
"player_overlays",
|
||||||
]
|
]
|
||||||
|
|
||||||
if (is_19_16_or_greater) {
|
|
||||||
modernMiniplayerClose = resourceMappings[
|
modernMiniplayerClose = resourceMappings[
|
||||||
"id",
|
"id",
|
||||||
"modern_miniplayer_close",
|
"modern_miniplayer_close",
|
||||||
|
]
|
||||||
|
|
||||||
|
modernMiniplayerExpand = resourceMappings[
|
||||||
|
"id",
|
||||||
|
"modern_miniplayer_expand",
|
||||||
|
]
|
||||||
|
|
||||||
|
modernMiniplayerRewindButton = resourceMappings[
|
||||||
|
"id",
|
||||||
|
"modern_miniplayer_rewind_button",
|
||||||
|
]
|
||||||
|
|
||||||
|
modernMiniplayerForwardButton = resourceMappings[
|
||||||
|
"id",
|
||||||
|
"modern_miniplayer_forward_button",
|
||||||
|
]
|
||||||
|
|
||||||
|
// Resource id is not used during patching, but is used by extension.
|
||||||
|
// Verify the resource is present while patching.
|
||||||
|
resourceMappings[
|
||||||
|
"id",
|
||||||
|
"modern_miniplayer_subtitle_text",
|
||||||
|
]
|
||||||
|
|
||||||
|
// Only required for exactly 19.16
|
||||||
|
if (!is_19_17_or_greater) {
|
||||||
|
ytOutlinePictureInPictureWhite24 = resourceMappings[
|
||||||
|
"drawable",
|
||||||
|
"yt_outline_picture_in_picture_white_24",
|
||||||
]
|
]
|
||||||
|
|
||||||
modernMiniplayerExpand = resourceMappings[
|
ytOutlineXWhite24 = resourceMappings[
|
||||||
"id",
|
"drawable",
|
||||||
"modern_miniplayer_expand",
|
"yt_outline_x_white_24",
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
|
||||||
modernMiniplayerRewindButton = resourceMappings[
|
if (is_19_26_or_greater) {
|
||||||
"id",
|
miniplayerMaxSize = resourceMappings[
|
||||||
"modern_miniplayer_rewind_button",
|
"dimen",
|
||||||
|
"miniplayer_max_size",
|
||||||
]
|
]
|
||||||
|
|
||||||
modernMiniplayerForwardButton = resourceMappings[
|
|
||||||
"id",
|
|
||||||
"modern_miniplayer_forward_button",
|
|
||||||
]
|
|
||||||
|
|
||||||
// Resource id is not used during patching, but is used by extension.
|
|
||||||
// Verify the resource is present while patching.
|
|
||||||
resourceMappings[
|
|
||||||
"id",
|
|
||||||
"modern_miniplayer_subtitle_text",
|
|
||||||
]
|
|
||||||
|
|
||||||
// Only required for exactly 19.16
|
|
||||||
if (!is_19_17_or_greater) {
|
|
||||||
ytOutlinePictureInPictureWhite24 = resourceMappings[
|
|
||||||
"drawable",
|
|
||||||
"yt_outline_picture_in_picture_white_24",
|
|
||||||
]
|
|
||||||
|
|
||||||
ytOutlineXWhite24 = resourceMappings[
|
|
||||||
"drawable",
|
|
||||||
"yt_outline_x_white_24",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
if (is_19_26_or_greater) {
|
|
||||||
miniplayerMaxSize = resourceMappings[
|
|
||||||
"dimen",
|
|
||||||
"miniplayer_max_size",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -146,9 +145,6 @@ val miniplayerPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
// 18.49.37 // Could be supported, but no reason when 19.16 exists and has modern types.
|
|
||||||
// 19.14.43 // Incomplete code for modern miniplayers.
|
|
||||||
// 19.15.36 // Different code for handling subtitle texts and not worth supporting.
|
|
||||||
"19.16.39", // First with modern miniplayers.
|
"19.16.39", // First with modern miniplayers.
|
||||||
// 19.17.41 // Works without issues, but no reason to recommend over 19.16.
|
// 19.17.41 // Works without issues, but no reason to recommend over 19.16.
|
||||||
// 19.18.41 // Works without issues, but no reason to recommend over 19.16.
|
// 19.18.41 // Works without issues, but no reason to recommend over 19.16.
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ val playerPopupPanelsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ val playerControlsBackgroundPatch = resourcePatch(
|
|||||||
) {
|
) {
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ internal val exitFullscreenPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -52,8 +52,6 @@ val customPlayerOverlayOpacityPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ val returnYouTubeDislikePatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -29,8 +29,6 @@ val wideSearchbarPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ val shortsAutoplayPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -41,8 +41,6 @@ val openShortsInRegularPlayerPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -106,8 +106,6 @@ val sponsorBlockPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ val spoofAppVersionPatch = bytecodePatch(
|
|||||||
name = "Spoof app version",
|
name = "Spoof app version",
|
||||||
description = "Adds an option to trick YouTube into thinking you are running an older version of the app. " +
|
description = "Adds an option to trick YouTube into thinking you are running an older version of the app. " +
|
||||||
"This can be used to restore old UI elements and features. " +
|
"This can be used to restore old UI elements and features. " +
|
||||||
"Patching 19.16.39 or lower includes additional older spoofing targets.",
|
"Patching 19.16.39 includes additional older spoofing targets.",
|
||||||
) {
|
) {
|
||||||
dependsOn(
|
dependsOn(
|
||||||
sharedExtensionPatch,
|
sharedExtensionPatch,
|
||||||
@@ -32,8 +32,6 @@ val spoofAppVersionPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
// "19.25.37", // Cannot be supported because the lowest spoof target is higher.
|
// "19.25.37", // Cannot be supported because the lowest spoof target is higher.
|
||||||
// "19.34.42", // Cannot be supported because the lowest spoof target is higher.
|
// "19.34.42", // Cannot be supported because the lowest spoof target is higher.
|
||||||
|
|||||||
@@ -29,8 +29,6 @@ val changeStartPagePatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -31,8 +31,6 @@ val disableResumingShortsOnStartupPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -208,8 +208,6 @@ val themePatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -33,8 +33,6 @@ val alternativeThumbnailsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ val bypassImageRegionRestrictionsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ val announcementsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ val autoRepeatPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ val backgroundPlaybackPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ import app.revanced.patches.shared.misc.settings.preference.PreferenceScreenPref
|
|||||||
import app.revanced.patches.shared.misc.settings.preference.PreferenceScreenPreference.Sorting
|
import app.revanced.patches.shared.misc.settings.preference.PreferenceScreenPreference.Sorting
|
||||||
import app.revanced.patches.shared.misc.settings.preference.SwitchPreference
|
import app.revanced.patches.shared.misc.settings.preference.SwitchPreference
|
||||||
import app.revanced.patches.youtube.misc.extension.sharedExtensionPatch
|
import app.revanced.patches.youtube.misc.extension.sharedExtensionPatch
|
||||||
import app.revanced.patches.youtube.misc.playservice.is_19_16_or_greater
|
|
||||||
import app.revanced.patches.youtube.misc.playservice.versionCheckPatch
|
import app.revanced.patches.youtube.misc.playservice.versionCheckPatch
|
||||||
import app.revanced.patches.youtube.misc.settings.PreferenceScreen
|
import app.revanced.patches.youtube.misc.settings.PreferenceScreen
|
||||||
import app.revanced.patches.youtube.misc.settings.settingsPatch
|
import app.revanced.patches.youtube.misc.settings.settingsPatch
|
||||||
@@ -32,8 +31,6 @@ val enableDebuggingPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
@@ -95,22 +92,21 @@ val enableDebuggingPatch = bytecodePatch(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_19_16_or_greater) {
|
|
||||||
experimentalLongFeatureFlagFingerprint.match(
|
|
||||||
experimentalFeatureFlagParentFingerprint.originalClassDef
|
|
||||||
).method.apply {
|
|
||||||
val insertIndex = indexOfFirstInstructionOrThrow(Opcode.MOVE_RESULT_WIDE)
|
|
||||||
|
|
||||||
addInstructions(
|
experimentalLongFeatureFlagFingerprint.match(
|
||||||
insertIndex,
|
experimentalFeatureFlagParentFingerprint.originalClassDef
|
||||||
"""
|
).method.apply {
|
||||||
move-result-wide v0
|
val insertIndex = indexOfFirstInstructionOrThrow(Opcode.MOVE_RESULT_WIDE)
|
||||||
invoke-static/range { v0 .. v5 }, $EXTENSION_CLASS_DESCRIPTOR->isLongFeatureFlagEnabled(JJJ)J
|
|
||||||
move-result-wide v0
|
addInstructions(
|
||||||
return-wide v0
|
insertIndex,
|
||||||
"""
|
"""
|
||||||
)
|
move-result-wide v0
|
||||||
}
|
invoke-static/range { v0 .. v5 }, $EXTENSION_CLASS_DESCRIPTOR->isLongFeatureFlagEnabled(JJJ)J
|
||||||
|
move-result-wide v0
|
||||||
|
return-wide v0
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
|
||||||
experimentalStringFeatureFlagFingerprint.match(
|
experimentalStringFeatureFlagFingerprint.match(
|
||||||
experimentalFeatureFlagParentFingerprint.originalClassDef
|
experimentalFeatureFlagParentFingerprint.originalClassDef
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ val spoofDeviceDimensionsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ val checkWatchHistoryDomainNameResolutionPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -35,8 +35,6 @@ val gmsCoreSupportPatch = gmsCoreSupportPatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
YOUTUBE_PACKAGE_NAME(
|
YOUTUBE_PACKAGE_NAME(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -30,8 +30,6 @@ val bypassURLRedirectsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -41,8 +41,6 @@ val openLinksExternallyPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -5,10 +5,13 @@ package app.revanced.patches.youtube.misc.playservice
|
|||||||
import app.revanced.patcher.patch.resourcePatch
|
import app.revanced.patcher.patch.resourcePatch
|
||||||
import app.revanced.util.findElementByAttributeValueOrThrow
|
import app.revanced.util.findElementByAttributeValueOrThrow
|
||||||
|
|
||||||
|
@Deprecated("19.16.39 is the lowest supported version")
|
||||||
var is_19_03_or_greater = false
|
var is_19_03_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.16.39 is the lowest supported version")
|
||||||
var is_19_04_or_greater = false
|
var is_19_04_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.16.39 is the lowest supported version")
|
||||||
var is_19_16_or_greater = false
|
var is_19_16_or_greater = false
|
||||||
private set
|
private set
|
||||||
var is_19_17_or_greater = false
|
var is_19_17_or_greater = false
|
||||||
|
|||||||
@@ -30,8 +30,6 @@ val removeTrackingQueryParameterPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ import app.revanced.patches.shared.misc.settings.settingsPatch
|
|||||||
import app.revanced.patches.youtube.misc.check.checkEnvironmentPatch
|
import app.revanced.patches.youtube.misc.check.checkEnvironmentPatch
|
||||||
import app.revanced.patches.youtube.misc.extension.sharedExtensionPatch
|
import app.revanced.patches.youtube.misc.extension.sharedExtensionPatch
|
||||||
import app.revanced.patches.youtube.misc.fix.playbackspeed.fixPlaybackSpeedWhilePlayingPatch
|
import app.revanced.patches.youtube.misc.fix.playbackspeed.fixPlaybackSpeedWhilePlayingPatch
|
||||||
import app.revanced.patches.youtube.misc.playservice.is_19_04_or_greater
|
|
||||||
import app.revanced.patches.youtube.misc.playservice.is_19_34_or_greater
|
import app.revanced.patches.youtube.misc.playservice.is_19_34_or_greater
|
||||||
import app.revanced.patches.youtube.misc.playservice.versionCheckPatch
|
import app.revanced.patches.youtube.misc.playservice.versionCheckPatch
|
||||||
import app.revanced.util.*
|
import app.revanced.util.*
|
||||||
@@ -249,13 +248,10 @@ val settingsPatch = bytecodePatch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add setting to force cairo settings fragment on/off.
|
// Add setting to force cairo settings fragment on/off.
|
||||||
if (is_19_04_or_greater) {
|
cairoFragmentConfigFingerprint.method.insertFeatureFlagBooleanOverride(
|
||||||
cairoFragmentConfigFingerprint.method.insertFeatureFlagBooleanOverride(
|
CAIRO_CONFIG_LITERAL_VALUE,
|
||||||
CAIRO_CONFIG_LITERAL_VALUE,
|
"$activityHookClassDescriptor->useCairoSettingsFragment(Z)Z"
|
||||||
"$activityHookClassDescriptor->useCairoSettingsFragment(Z)Z"
|
)
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
finalize {
|
finalize {
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ import app.revanced.patches.youtube.misc.settings.settingsPatch
|
|||||||
val spoofVideoStreamsPatch = spoofVideoStreamsPatch({
|
val spoofVideoStreamsPatch = spoofVideoStreamsPatch({
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ val zoomHapticsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -41,8 +41,6 @@ val forceOriginalAudioPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -28,8 +28,6 @@ val disableHdrPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -35,8 +35,6 @@ val rememberVideoQualityPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -19,8 +19,6 @@ val playbackSpeedPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -74,8 +74,6 @@ val restoreOldVideoQualityMenuPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"18.38.44",
|
|
||||||
"18.49.37",
|
|
||||||
"19.16.39",
|
"19.16.39",
|
||||||
"19.25.37",
|
"19.25.37",
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
|
|||||||
@@ -223,7 +223,6 @@ Second \"item\" text"</string>
|
|||||||
<patch id="interaction.seekbar.enableSlideToSeekPatch">
|
<patch id="interaction.seekbar.enableSlideToSeekPatch">
|
||||||
</patch>
|
</patch>
|
||||||
<patch id="misc.fix.playback.spoofVideoStreamsPatch">
|
<patch id="misc.fix.playback.spoofVideoStreamsPatch">
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
</patch>
|
</patch>
|
||||||
</app>
|
</app>
|
||||||
<app id="twitch">
|
<app id="twitch">
|
||||||
|
|||||||
@@ -223,7 +223,6 @@ Second \"item\" text"</string>
|
|||||||
<patch id="interaction.seekbar.enableSlideToSeekPatch">
|
<patch id="interaction.seekbar.enableSlideToSeekPatch">
|
||||||
</patch>
|
</patch>
|
||||||
<patch id="misc.fix.playback.spoofVideoStreamsPatch">
|
<patch id="misc.fix.playback.spoofVideoStreamsPatch">
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
</patch>
|
</patch>
|
||||||
</app>
|
</app>
|
||||||
<app id="twitch">
|
<app id="twitch">
|
||||||
|
|||||||
@@ -852,9 +852,9 @@ Second \"item\" text"</string>
|
|||||||
<string name="revanced_ryd_compact_layout_title">مقاس زر أعجبني</string>
|
<string name="revanced_ryd_compact_layout_title">مقاس زر أعجبني</string>
|
||||||
<string name="revanced_ryd_compact_layout_summary_on">زر أعجبني مصمم لأدنى عرض</string>
|
<string name="revanced_ryd_compact_layout_summary_on">زر أعجبني مصمم لأدنى عرض</string>
|
||||||
<string name="revanced_ryd_compact_layout_summary_off">زر أعجبني مصمم لأفضل مظهر</string>
|
<string name="revanced_ryd_compact_layout_summary_off">زر أعجبني مصمم لأفضل مظهر</string>
|
||||||
<string name="revanced_ryd_estimated_like_title">إظهار الإعجابات المقدرة</string>
|
<string name="revanced_ryd_estimated_like_title">عرض الإعجابات المقدرة</string>
|
||||||
<string name="revanced_ryd_estimated_like_summary_on">يتم عرض الإعجابات المقدرة</string>
|
<string name="revanced_ryd_estimated_like_summary_on">يتم عرض الإعجابات المقدرة</string>
|
||||||
<string name="revanced_ryd_estimated_like_summary_off">الإعجابات المقدرة مخفية</string>
|
<string name="revanced_ryd_estimated_like_summary_off">تم إخفاء الإعجابات المقدرة</string>
|
||||||
<string name="revanced_ryd_toast_on_connection_error_title">عرض ملاحظة إذا كان API غير متاح</string>
|
<string name="revanced_ryd_toast_on_connection_error_title">عرض ملاحظة إذا كان API غير متاح</string>
|
||||||
<string name="revanced_ryd_toast_on_connection_error_summary_on">يتم عرض الملاحظة في حالة عدم توفر Return YouTube Dislike</string>
|
<string name="revanced_ryd_toast_on_connection_error_summary_on">يتم عرض الملاحظة في حالة عدم توفر Return YouTube Dislike</string>
|
||||||
<string name="revanced_ryd_toast_on_connection_error_summary_off">لا يتم عرض الملاحظة في حالة عدم توفر Return YouTube Dislike</string>
|
<string name="revanced_ryd_toast_on_connection_error_summary_off">لا يتم عرض الملاحظة في حالة عدم توفر Return YouTube Dislike</string>
|
||||||
@@ -905,9 +905,9 @@ Second \"item\" text"</string>
|
|||||||
<string name="revanced_sb_enable_voting">عرض زر التصويت</string>
|
<string name="revanced_sb_enable_voting">عرض زر التصويت</string>
|
||||||
<string name="revanced_sb_enable_voting_sum_on">يتم عرض زر التصويت على المقطع</string>
|
<string name="revanced_sb_enable_voting_sum_on">يتم عرض زر التصويت على المقطع</string>
|
||||||
<string name="revanced_sb_enable_voting_sum_off">لا يتم عرض زر التصويت على المقطع</string>
|
<string name="revanced_sb_enable_voting_sum_off">لا يتم عرض زر التصويت على المقطع</string>
|
||||||
<string name="revanced_sb_square_layout">استخدام تصميم مربع</string>
|
<string name="revanced_sb_square_layout">استخدام التخطيط المربع</string>
|
||||||
<string name="revanced_sb_square_layout_sum_on">الأزرار وعناصر التحكم مربعة</string>
|
<string name="revanced_sb_square_layout_sum_on">الأزرار وعناصر التحكم مربعة الشكل</string>
|
||||||
<string name="revanced_sb_square_layout_sum_off">الأزرار وعناصر التحكم مستديرة</string>
|
<string name="revanced_sb_square_layout_sum_off">الأزرار وعناصر التحكم مدورة الشكل</string>
|
||||||
<!-- Translations should use language similar to 'revanced_ryd_compact_layout_title' -->
|
<!-- Translations should use language similar to 'revanced_ryd_compact_layout_title' -->
|
||||||
<string name="revanced_sb_enable_compact_skip_button">استخدام زر التخطي المُصَغَّر</string>
|
<string name="revanced_sb_enable_compact_skip_button">استخدام زر التخطي المُصَغَّر</string>
|
||||||
<string name="revanced_sb_enable_compact_skip_button_sum_on">زر التخطي مصمم لأدنى عرض</string>
|
<string name="revanced_sb_enable_compact_skip_button_sum_on">زر التخطي مصمم لأدنى عرض</string>
|
||||||
@@ -1134,11 +1134,11 @@ Second \"item\" text"</string>
|
|||||||
<patch id="layout.startpage.changeStartPagePatch">
|
<patch id="layout.startpage.changeStartPagePatch">
|
||||||
<string name="revanced_change_start_page_title">تعيين صفحة البداية</string>
|
<string name="revanced_change_start_page_title">تعيين صفحة البداية</string>
|
||||||
<string name="revanced_change_start_page_entry_default">الافتراضي</string>
|
<string name="revanced_change_start_page_entry_default">الافتراضي</string>
|
||||||
<string name="revanced_change_start_page_entry_all_subscriptions">الاشتراكات كلها</string>
|
<string name="revanced_change_start_page_entry_all_subscriptions">كلّ الاشتراكات</string>
|
||||||
<string name="revanced_change_start_page_entry_browse">تصفح القنوات</string>
|
<string name="revanced_change_start_page_entry_browse">تصفح القنوات</string>
|
||||||
<string name="revanced_change_start_page_entry_courses">الدورات / التعلم</string>
|
<string name="revanced_change_start_page_entry_courses">الدورات / التعلم</string>
|
||||||
<string name="revanced_change_start_page_entry_explore">استكشف</string>
|
<string name="revanced_change_start_page_entry_explore">استكشف</string>
|
||||||
<string name="revanced_change_start_page_entry_fashion">Fashion & Beauty</string>
|
<string name="revanced_change_start_page_entry_fashion">الموضة & التجميل</string>
|
||||||
<string name="revanced_change_start_page_entry_gaming">ألعاب</string>
|
<string name="revanced_change_start_page_entry_gaming">ألعاب</string>
|
||||||
<string name="revanced_change_start_page_entry_history">السّجل</string>
|
<string name="revanced_change_start_page_entry_history">السّجل</string>
|
||||||
<string name="revanced_change_start_page_entry_library">المكتبة</string>
|
<string name="revanced_change_start_page_entry_library">المكتبة</string>
|
||||||
@@ -1148,15 +1148,15 @@ Second \"item\" text"</string>
|
|||||||
<string name="revanced_change_start_page_entry_music">الموسيقى</string>
|
<string name="revanced_change_start_page_entry_music">الموسيقى</string>
|
||||||
<string name="revanced_change_start_page_entry_news">الأخبار</string>
|
<string name="revanced_change_start_page_entry_news">الأخبار</string>
|
||||||
<string name="revanced_change_start_page_entry_notifications">الإشعارات</string>
|
<string name="revanced_change_start_page_entry_notifications">الإشعارات</string>
|
||||||
<string name="revanced_change_start_page_entry_playlists">قائمة التشغيل</string>
|
<string name="revanced_change_start_page_entry_playlists">قوائم التشغيل</string>
|
||||||
<string name="revanced_change_start_page_entry_search">البحث</string>
|
<string name="revanced_change_start_page_entry_search">البحث</string>
|
||||||
<string name="revanced_change_start_page_entry_shopping">تسوق</string>
|
<string name="revanced_change_start_page_entry_shopping">تسوق</string>
|
||||||
<string name="revanced_change_start_page_entry_sports">الرياضة</string>
|
<string name="revanced_change_start_page_entry_sports">الرياضة</string>
|
||||||
<string name="revanced_change_start_page_entry_subscriptions">الاشتراكات</string>
|
<string name="revanced_change_start_page_entry_subscriptions">الاشتراكات</string>
|
||||||
<string name="revanced_change_start_page_entry_trending">المحتوى الرائج</string>
|
<string name="revanced_change_start_page_entry_trending">المحتوى الرائج</string>
|
||||||
<string name="revanced_change_start_page_entry_virtual_reality">الوقاع الاتراضي</string>
|
<string name="revanced_change_start_page_entry_virtual_reality">الواقع الافتراضي</string>
|
||||||
<string name="revanced_change_start_page_entry_watch_later">شاهد لاحقًا</string>
|
<string name="revanced_change_start_page_entry_watch_later">شاهد لاحقًا</string>
|
||||||
<string name="revanced_change_start_page_entry_your_clips">كليباتك</string>
|
<string name="revanced_change_start_page_entry_your_clips">فيديوهاتك</string>
|
||||||
</patch>
|
</patch>
|
||||||
<patch id="layout.startupshortsreset.disableResumingShortsOnStartupPatch">
|
<patch id="layout.startupshortsreset.disableResumingShortsOnStartupPatch">
|
||||||
<string name="revanced_disable_resuming_shorts_player_title">تعطيل استئناف مشغل Shorts</string>
|
<string name="revanced_disable_resuming_shorts_player_title">تعطيل استئناف مشغل Shorts</string>
|
||||||
@@ -1405,8 +1405,6 @@ Second \"item\" text"</string>
|
|||||||
قد لا يعمل تشغيل الفيديو"</string>
|
قد لا يعمل تشغيل الفيديو"</string>
|
||||||
<string name="revanced_spoof_video_streams_user_dialog_message">إيقاف تشغيل هذا الإعداد قد يسبب مشاكل في تشغيل الفيديو.</string>
|
<string name="revanced_spoof_video_streams_user_dialog_message">إيقاف تشغيل هذا الإعداد قد يسبب مشاكل في تشغيل الفيديو.</string>
|
||||||
<string name="revanced_spoof_video_streams_client_type_title">العميل الافتراضي</string>
|
<string name="revanced_spoof_video_streams_client_type_title">العميل الافتراضي</string>
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
<string name="revanced_spoof_video_streams_client_type_android_vr_no_auth">Android VR (بدون مصادقة)</string>
|
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_title">فرض iOS AVC (H.264)</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_title">فرض iOS AVC (H.264)</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">يتم فرض ترميز فيديو على AVC (H.264)</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">يتم فرض ترميز فيديو على AVC (H.264)</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">يتم تحديد ترميز الفيديو تلقائيًا</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">يتم تحديد ترميز الفيديو تلقائيًا</string>
|
||||||
|
|||||||
@@ -225,7 +225,6 @@ Second \"item\" text"</string>
|
|||||||
<patch id="interaction.seekbar.enableSlideToSeekPatch">
|
<patch id="interaction.seekbar.enableSlideToSeekPatch">
|
||||||
</patch>
|
</patch>
|
||||||
<patch id="misc.fix.playback.spoofVideoStreamsPatch">
|
<patch id="misc.fix.playback.spoofVideoStreamsPatch">
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
</patch>
|
</patch>
|
||||||
</app>
|
</app>
|
||||||
<app id="twitch">
|
<app id="twitch">
|
||||||
|
|||||||
@@ -836,6 +836,7 @@ Qeyd: Bunu aktivləşdirmə video reklamları da məcburi olaraq gizlədir"</str
|
|||||||
<!-- Toast shown if the user enables RYD while a video is opened, and then tries to vote for the video. -->
|
<!-- Toast shown if the user enables RYD while a video is opened, and then tries to vote for the video. -->
|
||||||
<string name="revanced_ryd_failure_ryd_enabled_while_playing_video_then_user_voted">Ryd ilə səsvermə üçün videonu yenidən yüklə</string>
|
<string name="revanced_ryd_failure_ryd_enabled_while_playing_video_then_user_voted">Ryd ilə səsvermə üçün videonu yenidən yüklə</string>
|
||||||
<!-- Video likes have been set to hidden by the video uploader. -->
|
<!-- Video likes have been set to hidden by the video uploader. -->
|
||||||
|
<string name="revanced_ryd_video_likes_hidden_by_video_owner">Sahib tərəfindən gizlədilib</string>
|
||||||
<string name="revanced_ryd_enable_summary_on">Bəyənməmələr göstərilir</string>
|
<string name="revanced_ryd_enable_summary_on">Bəyənməmələr göstərilir</string>
|
||||||
<string name="revanced_ryd_enable_summary_off">Bəyənməmələr göstərilmir</string>
|
<string name="revanced_ryd_enable_summary_off">Bəyənməmələr göstərilmir</string>
|
||||||
<string name="revanced_ryd_shorts_title">\"Shorts\"da bəyənməmə sayını göstər</string>
|
<string name="revanced_ryd_shorts_title">\"Shorts\"da bəyənməmə sayını göstər</string>
|
||||||
@@ -851,6 +852,9 @@ Məhdudiyyət: Bəyənməmələr gizli rejimdə görünmür"</string>
|
|||||||
<string name="revanced_ryd_compact_layout_title">Yığcam Bəyən Düyməsi</string>
|
<string name="revanced_ryd_compact_layout_title">Yığcam Bəyən Düyməsi</string>
|
||||||
<string name="revanced_ryd_compact_layout_summary_on">Daha kiçik en üçün hazırlanmış Bəyən düyməsi</string>
|
<string name="revanced_ryd_compact_layout_summary_on">Daha kiçik en üçün hazırlanmış Bəyən düyməsi</string>
|
||||||
<string name="revanced_ryd_compact_layout_summary_off">Ən yaxşı görünüş üçün tərtib edilmiş Bəyən düyməsi</string>
|
<string name="revanced_ryd_compact_layout_summary_off">Ən yaxşı görünüş üçün tərtib edilmiş Bəyən düyməsi</string>
|
||||||
|
<string name="revanced_ryd_estimated_like_title">Təxmini bəyənmələri göstər</string>
|
||||||
|
<string name="revanced_ryd_estimated_like_summary_on">Təxmini bəyənmələr göstərilir</string>
|
||||||
|
<string name="revanced_ryd_estimated_like_summary_off">Təxmini bəyənmələr gizlədilir</string>
|
||||||
<string name="revanced_ryd_toast_on_connection_error_title">API əlçatan deyilsə ani bildiriş göstər</string>
|
<string name="revanced_ryd_toast_on_connection_error_title">API əlçatan deyilsə ani bildiriş göstər</string>
|
||||||
<string name="revanced_ryd_toast_on_connection_error_summary_on">Return YouTube Dislike əlçatan deyilsə ani bildiriş göstər</string>
|
<string name="revanced_ryd_toast_on_connection_error_summary_on">Return YouTube Dislike əlçatan deyilsə ani bildiriş göstər</string>
|
||||||
<string name="revanced_ryd_toast_on_connection_error_summary_off">Return YouTube Dislike əlçatan deyilsə ani bildiriş göstərmə</string>
|
<string name="revanced_ryd_toast_on_connection_error_summary_off">Return YouTube Dislike əlçatan deyilsə ani bildiriş göstərmə</string>
|
||||||
@@ -901,6 +905,9 @@ Bu funksiya 720p və ya daha aşağı video keyfiyyəti ilə və çox sürətli
|
|||||||
<string name="revanced_sb_enable_voting">Səsvermə düyməsini göstər</string>
|
<string name="revanced_sb_enable_voting">Səsvermə düyməsini göstər</string>
|
||||||
<string name="revanced_sb_enable_voting_sum_on">Bölümə səsvermə düyməsi göstərilir</string>
|
<string name="revanced_sb_enable_voting_sum_on">Bölümə səsvermə düyməsi göstərilir</string>
|
||||||
<string name="revanced_sb_enable_voting_sum_off">Bölümə səsvermə düyməsi göstərilmir</string>
|
<string name="revanced_sb_enable_voting_sum_off">Bölümə səsvermə düyməsi göstərilmir</string>
|
||||||
|
<string name="revanced_sb_square_layout">Kvadrat düzümü istifadə et</string>
|
||||||
|
<string name="revanced_sb_square_layout_sum_on">Düymələr və idarəedicilər kvadratdır </string>
|
||||||
|
<string name="revanced_sb_square_layout_sum_off">Düymələr və idarəedicilər dairəvidir</string>
|
||||||
<!-- Translations should use language similar to 'revanced_ryd_compact_layout_title' -->
|
<!-- Translations should use language similar to 'revanced_ryd_compact_layout_title' -->
|
||||||
<string name="revanced_sb_enable_compact_skip_button">Yığcam ötürmə düyməsini istifadə et</string>
|
<string name="revanced_sb_enable_compact_skip_button">Yığcam ötürmə düyməsini istifadə et</string>
|
||||||
<string name="revanced_sb_enable_compact_skip_button_sum_on">Ən kiçik en üçün hazırlanmış ötürmə düyməsi</string>
|
<string name="revanced_sb_enable_compact_skip_button_sum_on">Ən kiçik en üçün hazırlanmış ötürmə düyməsi</string>
|
||||||
@@ -1398,8 +1405,6 @@ Bunu aktivləşdirmə daha yüksək video keyfiyyətləri əngəlin silə bilər
|
|||||||
Video oynatma işləməyə bilər"</string>
|
Video oynatma işləməyə bilər"</string>
|
||||||
<string name="revanced_spoof_video_streams_user_dialog_message">Bu seçimi bağlamaq, video oynatma problemlərinə səbəb olar.</string>
|
<string name="revanced_spoof_video_streams_user_dialog_message">Bu seçimi bağlamaq, video oynatma problemlərinə səbəb olar.</string>
|
||||||
<string name="revanced_spoof_video_streams_client_type_title">İlkin qəbuledici</string>
|
<string name="revanced_spoof_video_streams_client_type_title">İlkin qəbuledici</string>
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
<string name="revanced_spoof_video_streams_client_type_android_vr_no_auth">Android VR (təsdiqlənmə yoxdur)</string>
|
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_title">IOS-da AVC (H.264)-ni məcbur et</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_title">IOS-da AVC (H.264)-ni məcbur et</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">Video kodlama AVC (H.264)-yə məcbur edilir</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">Video kodlama AVC (H.264)-yə məcbur edilir</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">Video kodlayıcı avtomatik müəyyən edilir</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">Video kodlayıcı avtomatik müəyyən edilir</string>
|
||||||
|
|||||||
@@ -1406,8 +1406,6 @@ Second \"item\" text"</string>
|
|||||||
Прайграванне відэа можа не працаваць"</string>
|
Прайграванне відэа можа не працаваць"</string>
|
||||||
<string name="revanced_spoof_video_streams_user_dialog_message">Адключэнне гэтай налады можа выклікаць праблемы з прайграваннем відэа.</string>
|
<string name="revanced_spoof_video_streams_user_dialog_message">Адключэнне гэтай налады можа выклікаць праблемы з прайграваннем відэа.</string>
|
||||||
<string name="revanced_spoof_video_streams_client_type_title">Клиент по умолчанию</string>
|
<string name="revanced_spoof_video_streams_client_type_title">Клиент по умолчанию</string>
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
<string name="revanced_spoof_video_streams_client_type_android_vr_no_auth">Android VR (няма аўтэнтыфікацыі)</string>
|
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_title">Вымусіць iOS AVC (H.264)</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_title">Вымусіць iOS AVC (H.264)</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">Відэакaдэк зафіксаваны ў AVC (H.264)</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">Відэакaдэк зафіксаваны ў AVC (H.264)</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">Відэакaдэк вызначаецца аўтаматычна</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">Відэакaдэк вызначаецца аўтаматычна</string>
|
||||||
|
|||||||
@@ -1405,8 +1405,6 @@ Second \"item\" text"</string>
|
|||||||
Възпроизвеждането на видеоклипове може да не работи"</string>
|
Възпроизвеждането на видеоклипове може да не работи"</string>
|
||||||
<string name="revanced_spoof_video_streams_user_dialog_message">Деактивирането на тази настройка ще доведе до проблеми с възпроизвеждането на видео.</string>
|
<string name="revanced_spoof_video_streams_user_dialog_message">Деактивирането на тази настройка ще доведе до проблеми с възпроизвеждането на видео.</string>
|
||||||
<string name="revanced_spoof_video_streams_client_type_title">Клиент по подразбиране</string>
|
<string name="revanced_spoof_video_streams_client_type_title">Клиент по подразбиране</string>
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
<string name="revanced_spoof_video_streams_client_type_android_vr_no_auth">Android VR (bez avtorizaciq)</string>
|
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_title">Принудително използване на AVC (H.264) на iOS</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_title">Принудително използване на AVC (H.264) на iOS</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">Видео кодекът е принудително зададен на AVC (H.264)</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">Видео кодекът е принудително зададен на AVC (H.264)</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">Видео кодекът се определя автоматично</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">Видео кодекът се определя автоматично</string>
|
||||||
|
|||||||
@@ -1405,8 +1405,6 @@ DeArrow সম্পর্কে আরও জানতে এখানে ট
|
|||||||
ভিডিও প্লেব্যাক কাজ নাও করতে পারে"</string>
|
ভিডিও প্লেব্যাক কাজ নাও করতে পারে"</string>
|
||||||
<string name="revanced_spoof_video_streams_user_dialog_message">এই সেটিংটি বন্ধ করার ফলে ভিডিও প্লেব্যাক ত্রুটি হতে পারে।</string>
|
<string name="revanced_spoof_video_streams_user_dialog_message">এই সেটিংটি বন্ধ করার ফলে ভিডিও প্লেব্যাক ত্রুটি হতে পারে।</string>
|
||||||
<string name="revanced_spoof_video_streams_client_type_title">ডিফল্ট ক্লায়েন্ট</string>
|
<string name="revanced_spoof_video_streams_client_type_title">ডিফল্ট ক্লায়েন্ট</string>
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
<string name="revanced_spoof_video_streams_client_type_android_vr_no_auth">Android VR (স্বীকৃতি ছাড়া)</string>
|
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_title">iOS AVC (H.264) বাধ্যতামূলক করুন</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_title">iOS AVC (H.264) বাধ্যতামূলক করুন</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">ভিডিও কোডেক AVC (H.264) এ বাধ্যতামূলক করা হয়েছে</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">ভিডিও কোডেক AVC (H.264) এ বাধ্যতামূলক করা হয়েছে</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">ভিডিও কোডেক স্বয়ংক্রিয়ভাবে নির্ধারিত হয়</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">ভিডিও কোডেক স্বয়ংক্রিয়ভাবে নির্ধারিত হয়</string>
|
||||||
|
|||||||
@@ -223,7 +223,6 @@ Second \"item\" text"</string>
|
|||||||
<patch id="interaction.seekbar.enableSlideToSeekPatch">
|
<patch id="interaction.seekbar.enableSlideToSeekPatch">
|
||||||
</patch>
|
</patch>
|
||||||
<patch id="misc.fix.playback.spoofVideoStreamsPatch">
|
<patch id="misc.fix.playback.spoofVideoStreamsPatch">
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
</patch>
|
</patch>
|
||||||
</app>
|
</app>
|
||||||
<app id="twitch">
|
<app id="twitch">
|
||||||
|
|||||||
@@ -1404,8 +1404,6 @@ Si actives aquesta opció, es poden desbloquejar qualitats de vídeo més altes"
|
|||||||
La reproducció de vídeo pot no funcionar"</string>
|
La reproducció de vídeo pot no funcionar"</string>
|
||||||
<string name="revanced_spoof_video_streams_user_dialog_message">Desactivar aquesta configuració pot causar problemes de reproducció de vídeo.</string>
|
<string name="revanced_spoof_video_streams_user_dialog_message">Desactivar aquesta configuració pot causar problemes de reproducció de vídeo.</string>
|
||||||
<string name="revanced_spoof_video_streams_client_type_title">Client predeterminat</string>
|
<string name="revanced_spoof_video_streams_client_type_title">Client predeterminat</string>
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
<string name="revanced_spoof_video_streams_client_type_android_vr_no_auth">Android VR (sense autorització)</string>
|
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_title">Forza iOS AVC (H.264)</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_title">Forza iOS AVC (H.264)</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">El còdec de vídeo es força a AVC (H.264)</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">El còdec de vídeo es força a AVC (H.264)</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">El còdec de vídeo es determina automàticament.</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">El còdec de vídeo es determina automàticament.</string>
|
||||||
|
|||||||
@@ -1404,8 +1404,6 @@ Povolením této funkce lze odemknout vyšší kvality videa"</string>
|
|||||||
Přehrávání videa nemusí fungovat"</string>
|
Přehrávání videa nemusí fungovat"</string>
|
||||||
<string name="revanced_spoof_video_streams_user_dialog_message">Vypnutí tohoto nastavení může způsobit problémy s přehráváním videa.</string>
|
<string name="revanced_spoof_video_streams_user_dialog_message">Vypnutí tohoto nastavení může způsobit problémy s přehráváním videa.</string>
|
||||||
<string name="revanced_spoof_video_streams_client_type_title">Výchozí klient</string>
|
<string name="revanced_spoof_video_streams_client_type_title">Výchozí klient</string>
|
||||||
<!-- 'no auth' means no authentication -->
|
|
||||||
<string name="revanced_spoof_video_streams_client_type_android_vr_no_auth">Android VR (bez ověření)</string>
|
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_title">Vynucení kodeku iOS AVC (H.264)</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_title">Vynucení kodeku iOS AVC (H.264)</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">Kodek videa je vynucen na AVC (H.264)</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_on">Kodek videa je vynucen na AVC (H.264)</string>
|
||||||
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">Kodek videa je určen automaticky</string>
|
<string name="revanced_spoof_video_streams_ios_force_avc_summary_off">Kodek videa je určen automaticky</string>
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user