From f6983d1769721ac9534a74fa2cda559f0042c1bc Mon Sep 17 00:00:00 2001 From: inotia00 Date: Sat, 24 Jun 2023 13:10:41 +0900 Subject: [PATCH] feat(youtube/spoof-player-parameters): split into shorts parameter and incognito mode parameter --- .../youtube/settings/host/values/strings.xml | 32 +++++++++++++------ .../youtube/settings/xml/revanced_prefs.xml | 8 ++--- 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml index 03d4c614d..a0cf49508 100644 --- a/src/main/resources/youtube/settings/host/values/strings.xml +++ b/src/main/resources/youtube/settings/host/values/strings.xml @@ -120,12 +120,6 @@ Enable open links directly Tricks the dpi to use some phone layouts Enable phone layout - "Spoofs the protobuf to prevent playback issues - -Known issues -- End screen cards are always hidden -- Offline downloads may not work (YouTube Premium users)" - Enable protobuf spoof Press-to-swipe is disabled Press-to-swipe is enabled Enable press-to-swipe gesture @@ -263,6 +257,9 @@ Please do not report any issues you encounter while using this feature."Channel watermark is shown Channel watermark is hidden Hide channel watermark + Chapters are shown + Chapters are hidden + Hide chapters in the video description Collapse button is shown Collapse button is hidden Hide collapse button @@ -287,6 +284,9 @@ Please do not report any issues you encounter while using this feature."Emoji picker is shown Emoji picker is hidden Hide emoji picker + Expandable chips are shown + Expandable chips are hidden + Hide expandable chip under videos End screen cards are shown End screen cards are hidden Hide end screen cards @@ -457,9 +457,6 @@ Please do not report any issues you encounter while using this feature."Following shelves are shown: Breaking news, Explore more channels, Shopping Following shelves are hidden: Breaking news, Explore more channels, Shopping Hide suggestions shelf - Teasers are shown - Teasers are hidden - Hide teaser under videos Ticket shelves are shown Ticket shelves are hidden Hide ticket shelf @@ -513,7 +510,6 @@ Please do not report any issues you encounter while using this feature."Information about applied patches Player flyout panel Player - Spoofing protobuf to prevent playback issues Quick actions components Restart to load the layout normally "As this is still an experimental feature, there may be other unknown issues. @@ -568,6 +564,22 @@ If later turned off, the old UI may remain until clear the app data" 16.08.35 - Restore explore tab Type the spoof app version target Spoof app version target + Spoofed player parameters to fix playback issue + Please reload the video + "Player parameters of Shorts + +Known issues +- Downloading videos may not work +- End screen cards are always hidden" + "Player parameters of incognito mode + +Known issues +- Ambient mode may not work +- Downloading videos may not work +- Seekbar thumbnails are hidden" + Spoof player parameter type + Spoofs player parameters to prevent playback issues + Spoof player parameter Swipe controls The amount of threshold for swipe to occur Swipe magnitude threshold diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index b69a1f393..a41cbc0af 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -266,9 +266,6 @@ - - @@ -286,6 +283,10 @@ SETTINGS: SPOOF_APP_VERSION --> + + @@ -346,7 +347,6 @@ -