diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/fix/parameter/SpoofPlayerParameterPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/fix/parameter/SpoofPlayerParameterPatch.kt index d200e6bc3..f7adf4a5b 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/fix/parameter/SpoofPlayerParameterPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/fix/parameter/SpoofPlayerParameterPatch.kt @@ -25,8 +25,9 @@ import app.revanced.util.resultOrThrow import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction @Suppress("unused") +@Deprecated("This patch will be removed in the future.") object SpoofPlayerParameterPatch : BaseBytecodePatch( - name = "Spoof player parameters", + // name = "Spoof player parameters", description = "Adds options to spoof player parameters to prevent playback issues.", dependencies = setOf( PlayerTypeHookPatch::class, @@ -172,6 +173,7 @@ object SpoofPlayerParameterPatch : BaseBytecodePatch( */ SettingsPatch.addPreference( arrayOf( + "PREFERENCE_CATEGORY: MISC_EXPERIMENTAL_FLAGS", "SETTINGS: SPOOF_PLAYER_PARAMETER" ) ) diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index ed48af445..2af4485a1 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -548,6 +548,9 @@ + +