-
Notifications
You must be signed in to change notification settings - Fork 30
feat(YouTube Music): Add Spoof player parameter
patch
#2832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Reflected in revanced-patches-5.5.1 |
I'm using latest patches. Should I enable If both are off, I get playback issue. If any one is on, no playback issue. If both are on, no playback issue. So, what will you recommend to me? |
(this patch is excluded by default) To reduce confusion, I will remove the |
Rvx music crashes after playing a song (i have given unrestricted battery usage access and allowed app to use in background too) i am using spoof player parameters too . |
Application
YouTube Music
Feature description
This is not a feature request, but a description of the feature that will be introduce in the next release.
Around March 2023, I added a
protobuf-spoof
patch to YouTube to fix playback issues.This patch was later renamed to the
Spoof player parameters
patch and worked for quite some time.Open source YouTube extractors like yt-dlp, NewPipe, and YouTube.js also used this player parameter to fix playback issues, so Google blocked this patch within a few months by changing the structure of innerTube's protobuf message.
Since then, Google has tried various ways to prevent third-party apps from using YouTube extractors.
As a result, in 2025, using
ANDROID
client requires quite complex prerequisites such as Authorization, PoToken, and Android device attestation, and most open source YouTube extractors have stopped usingANDROID
client.The following are the reasons why I implemented the
Spoof player parameter
patch in YouTube Music:Spoof client
patch without issues, theinitplayback
domain must be blocked, otherwise the video action bar will not be shown.: YouTube Music 7.16.51 + iOS Music 6.21 works without blocking the
initplayback
domain.initplayback
domain is blocked, the app crashes for some users who use VPN or DNS.: It seems that VPN or DNS block certain services of GmsCore. Whitelisting GmsCore and RVX Music in VPN or DNS will fix the issue.
ANDROID
client.: Nowadays almost all open source YouTube extractors use either
WEB
client orTV
client (with integrated PoToken generator).Unlike 2 years ago, very few users using RVX Music are expected to use this patch now.
For this reason,
Spoof player parameter
patch will be added to YouTube Music, andSpoof client
patch will be excluded by default.Motivation
Spoof streaming data
andSpoof client
patches do not work for some users due to the structural limitations of the YouTube Music app.Acknowledgements
The text was updated successfully, but these errors were encountered: