-
-
Notifications
You must be signed in to change notification settings - Fork 301
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
fix(YouTube - Spoof video streams): Log out the iOS client to allow kids videos playback #4000
Conversation
@LisoUseInAIKyrios If the first requests fail, should a toast be shown, even if the second or third attempt worked? |
@LisoUseInAIKyrios A way to reduce the amount of requests made to YouTube could be via analysing which clients succeed the most. So if someone is watching kids videos exclusively, the IOS client will be preferred. |
The only way I am seeing to restore playback on private or restricted videos is to use a client that can authorize using the Android Bearer token. Since iOS and VR don't accept the auth token from Android, the only way to play those videos with other clients is to ask the user to login to get the auth token via the auth method used for the other clients. This is not really elegant since the user would have to login twice, once for the Android app, and once for the private videos. The alternative solution is to generate a login for other clients via GmsCore. This would require implementing additional code when the user logs into the app, so that it also manages the login of the user for the other clients. |
f628c97
to
6a7fd78
Compare
What changes are needed to the settings side effect summaries? |
Should Android TV client be added to support playback of kids videos (private/public) in addition to IOS logged out? |
If I understand this correctly, if the user has iOS as their preferred client then it will fail for private kids videos but it then succeeds when it automatically falls over to Android VR. In this situation I think showing an error is confusing as the playback did work. |
So the only side effects to add to iOS, is that private kids videos will still use Android VR? Maybe keep it simple and just state "Kids videos may not playback", when they will playback but will fallback to Android VR. |
Android VR can not play kids videos. Public or private. Only iOS can. And since iOS is not authorized, private kids video can not be played on any circumstance. This is a limitation unless we can somehow make an authorized request with a client other than Android VR but since the auth token is constrained to it's platform, that's not gonna be easy |
Could android tv client with existing auth token play private kids video? |
Can merge #4010 after this PR is merged. So many users think "app version == patch version" which makes it harder to troubleshoot when they are using old patches. |
If they restrict auth to their respective platform, probably not. |
# [5.2.0-dev.5](v5.2.0-dev.4...v5.2.0-dev.5) (2024-11-27) ### Bug Fixes * **YouTube - Spoof video streams:** Log out the iOS client to restore kids videos playback ([#4000](#4000)) ([cc2ac4e](cc2ac4e)) ### Features * **TikTok:** Add ReVanced settings about screen ([#4009](#4009)) ([12ea26b](12ea26b))
I also thought the same thing In ReVanced Extended, kids videos is playing with Android TV client correctly
I've not tested the private kids video, though. However, it seems that Android TV cannot play copyrighted musics(?). https://www.youtube.com/watch?v=e_04ZrNroTo is an example.
By the way, Android TV doesn't seem to be available unless you're logged in.
|
# [5.2.0](v5.1.0...v5.2.0) (2024-11-27) ### Bug Fixes * **My Expenses - Unlock pro:** Constrain compatible version to working version ([#3974](#3974)) ([ba3bf69](ba3bf69)) * **YouTube - Hide Shorts components:** Add missing options to patch ([65f62fc](65f62fc)) * **YouTube - Playback speed:** Allow long press 2x speed when using custom playback speeds ([#3990](#3990)) ([79a543a](79a543a)) * **YouTube - Settings:** Do not clip settings menus when using an Android 15 device ([#3999](#3999)) ([7382a02](7382a02)) * **YouTube - Settings:** Show navigation back button in setting sub menus ([#3991](#3991)) ([e61686c](e61686c)) * **YouTube - Spoof video streams:** Log out the iOS client to restore kids videos playback ([#4000](#4000)) ([cc2ac4e](cc2ac4e)) ### Features * **TikTok:** Add ReVanced settings about screen ([#4009](#4009)) ([12ea26b](12ea26b)) * **VSCO:** Remove non functional `Unlock pro` patch ([4fddb19](4fddb19)) * **YouTube - Theme:** Apply custom seekbar color to splash screen animation ([#3978](#3978)) ([98d57e2](98d57e2)) * **YouTube:** Support version `19.46.42` ([#4010](#4010)) ([122aac6](122aac6))
YouTube now has restricted the auth token to their respective client. This mean's the Android token can not be used for iOS or VR requests anymore (More info yt-dlp/yt-dlp#11640 (comment)).
Private or kids' videos can not be played without logging in.
The only solution here is to ask the user to log in, or somehow handle the login to other clients when the user logs into GmsCore.
Currently, VR seems to work with the Android auth token. This means, that private videos will work. What won't work is private kids videos, because VR is the only authorized client currently, and that one can't play kids videos.