revanced-patches icon indicating copy to clipboard operation
revanced-patches copied to clipboard

feat(YouTube Music): "Don't Play Music Videos" option

Open NarrikSynthfox opened this issue 2 years ago • 14 comments

Application

Youtube Music

Issue

For premium users, theres an option that makes it so that it doesn't play the music video version of songs when only playing audio. If it's possible to allow that to be used tor non-premium users, that would be great. Some songs, the music videos have long intros or sfx over the music that isn't in the streaming upload of the song.

Patch

Show the option for "Don't play music videos" (I think thats what it's labeled as) for all users.

Motivation

I have seen a lot of people requesting SponsorBlock for Youtube Music, and most of the reasons why would be solved with this patch. Hopefully its possible to accomplish.

Acknowledgements

  • [X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • [x] I have written a short but informative title.
  • [X] I filled out all of the requested information in this issue properly.

NarrikSynthfox avatar Feb 12 '23 04:02 NarrikSynthfox

The stream the API sends you can not be changed.

oSumAtrIX avatar Feb 12 '23 11:02 oSumAtrIX

Yeah, but there is an option that is built in natively to YouTube Music, that only shows up for premium users, and I was wondering if it were possible to make it show up for non-premium as well somehow.

NarrikSynthfox avatar Feb 12 '23 11:02 NarrikSynthfox

I don't think so. The API will only work if the user is known to have premium.

oSumAtrIX avatar Feb 12 '23 11:02 oSumAtrIX

Well I don't know about the premium part, but I'm pretty sure that RVX has a patch which does this.

Please link the relevant commits.

oSumAtrIX avatar Feb 12 '23 12:02 oSumAtrIX

Screenshot_20230212-183723~2 This is the result of the patch. I can't seem to find the commit though.

You can use "git blame" to find the commit to the code which enables it, please then send a commit link.

oSumAtrIX avatar Feb 12 '23 13:02 oSumAtrIX

How do I do this exactly? Not very used to GitHub actually.

This and this might be helpful for you.

oSumAtrIX avatar Feb 12 '23 13:02 oSumAtrIX

I have a doubt. Don't we have exclusive audio playback option? Doesn't it play just the audio only? I think the one I mentioned above does the same only.

I believe so too

oSumAtrIX avatar Feb 12 '23 13:02 oSumAtrIX

It does play audio only, but it's the audio for the music video.

NarrikSynthfox avatar Feb 12 '23 13:02 NarrikSynthfox

Sorry for the high hopes if I gave you any @NarrikSynthfox, but I don't think there's any patch atm which purely shifts from video mode to audio mode of the same song.

I recently discovered this projects and they've done it: https://github.com/vfsfitvnm/ViMusic/issues/88 @oSumAtrIX can you reopen the issue?

HMartusewiczVox avatar Aug 29 '23 08:08 HMartusewiczVox