Skip to content
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

feat(YouTube Music): Support version 7.25.53 #2554

Closed
5 tasks done
inotia00 opened this issue Dec 16, 2024 · 2 comments
Closed
5 tasks done

feat(YouTube Music): Support version 7.25.53 #2554

inotia00 opened this issue Dec 16, 2024 · 2 comments
Labels
Feature request Requesting a new feature

Comments

@inotia00
Copy link
Owner

inotia00 commented Dec 16, 2024

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.

I previously rolled back the support version of YouTube Music to 7.16.53 for this reason.

outdated

About a month ago, Google started showing a banner to users of YouTube Music 7.24.51 or earlier urging them to update.

(This banner is hidden within about 1 second after the banner is shown due to the Hide ads patch.)

So I have been preparing support for YouTube Music 7.25.53 for a month.

I have confirmed that in YouTube Music 7.25.53, the action bar has been converted to a full litho component, and fortunately, it has a ComponentTree that is almost identical to YouTube.

So I was able to still implement most of my patches in YouTube Music 7.25.53.

The following patches are no longer available or have changed behavior due to the changes in YouTube Music 7.25.53:

Patch: Hide action bar components, Setting: Hide action button labels
: The action bar in YouTube Music 7.25.53 is now structured almost identically to YouTube’s action bar.

You can no longer hide the action bar label the way you did in YouTube Music 7.16.53.

Patch: Hide action bar components, Setting: Hide action buttons
: The action bar in YouTube Music 7.25.53 now has a nearly identical structure to YouTube's action bar, so #17 is reproduced in YouTube Music 7.25.53+.

Patch: Hide action bar components, Setting: Override Download action button
: Starting with YouTube Music 7.25.53, this feature is available only to Premium users.

This feature is available only on YouTube Music 7.16.53.

Patch: Player components, Setting: Remember shuffle state
: Starting with YouTube Music 7.25.53, the server rejects shuffle requests sent before the track starts.

(Now, Always shuffle can be applied 1 second after the track starts.)

While Always shuffle is still applied immediately in YouTube Music 7.16.53,
YouTube Music 7.25.53 applies Always shuffle 1 second after the track starts.

Patch: Spoof app version, Setting: Spoof app version
: Google has removed code related to the old-style action bar in YouTube Music 7.25.53.

So if you spoof the app version from YouTube Music 7.25.53 to 7.24.51 or earlier, you will lose the action bar.

For this reason, the recommended version of the Spoof app version patch is restricted to 7.16.53.

Motivation

outdated

Since the banner asking for an update is still visible, it seems likely that the YouTube Music API will change 'soon', so I added support for YouTube Music 7.25.53.

Personally, if you don't have any major issues with it, I would still recommend staying on YouTube Music 7.16.53.

Acknowledgements

  • This is not a feature request for YouTube.
  • This issue is not a duplicate of an existing feature request.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • I have written the title and contents in English.
@inotia00 inotia00 added the Feature request Requesting a new feature label Dec 16, 2024
inotia00 added a commit to inotia00/revanced-patches that referenced this issue Dec 17, 2024
@inotia00
Copy link
Owner Author

reflected in revanced-patches-5.1.1

@inotia00 inotia00 changed the title feat(YouTube Music): Support version 7.25.52 feat(YouTube Music): Support version 7.25.53 Dec 22, 2024
@aayushrautela
Copy link

Does it implies that no support for hooking the download button to an external app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Requesting a new feature
Projects
None yet
Development

No branches or pull requests

2 participants