[Feature Request]: Audio Only #3220

Open
opened 2025-04-10 18:00:02 +00:00 by MidnightQuery · 5 comments
MidnightQuery commented 2025-04-10 18:00:02 +00:00 (Migrated from github.com)

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

Plays only the audio and not the video to save bandwidth

Proposed Solution

This userscript has managed to implemented true audio only mode that does not load the video https://greasyfork.org/en/scripts/486384-youtube-music-audio-only

It has also been implemented on Youtube Music Revanced Extended by inotia00:
https://github.com/ReVanced/revanced-patches/issues/1353
https://github.com/inotia00/ReVanced_Extended/issues/1431
https://github.com/vfsfitvnm/ViMusic/issues/88

Additional Information

No response

### Preflight Checklist - [x] I use the latest version of YouTube Music (Application). - [x] I have searched the [issue tracker](https://github.com/th-ch/youtube-music/issues) for a feature request that matches the one I want to file, without success. ### Problem Description Plays only the audio and not the video to save bandwidth ### Proposed Solution This userscript has managed to implemented true audio only mode that does not load the video https://greasyfork.org/en/scripts/486384-youtube-music-audio-only It has also been implemented on Youtube Music Revanced Extended by inotia00: https://github.com/ReVanced/revanced-patches/issues/1353 https://github.com/inotia00/ReVanced_Extended/issues/1431 https://github.com/vfsfitvnm/ViMusic/issues/88 ### Additional Information _No response_
Owner

The links for revanced don't appear to have any actual implementation about this feature, I even went through the mentioned revanced patches release and didn't see anything in the diff.

anyways- that userscript is....wow, it must have taken a lot of research to make
it patches like a billion different things

I'll certainly give this a look later this weekend.

The links for revanced don't appear to have any actual implementation about this feature, I even went through the mentioned revanced patches release and didn't see anything in the diff. anyways- that userscript is....wow, it must have taken a lot of research to make it patches like a billion different things I'll certainly give this a look later this weekend.
JellyBrick commented 2025-04-10 22:18:55 +00:00 (Migrated from github.com)

Implementing this behavior would require patching a large amount of internal code and would likely break most behaviors that rely on the <video> element.

Implementing this behavior would require patching a large amount of internal code and would likely break most behaviors that rely on the `<video>` element.
MidnightQuery commented 2025-04-11 01:06:32 +00:00 (Migrated from github.com)

The links for revanced don't appear to have any actual implementation about this feature, I even went through the mentioned revanced patches release and didn't see anything in the diff.

anyways- that userscript is....wow, it must have taken a lot of research to make it patches like a billion different things

I'll certainly give this a look later this weekend.

42cc8201f5/extensions/shared/src/main/java/app/revanced/extension/music/patches/misc/AlbumMusicVideoPatch.java (L18) This?

> The links for revanced don't appear to have any actual implementation about this feature, I even went through the mentioned revanced patches release and didn't see anything in the diff. > > anyways- that userscript is....wow, it must have taken a lot of research to make it patches like a billion different things > > I'll certainly give this a look later this weekend. https://github.com/inotia00/revanced-patches/blob/42cc8201f5dfcc05f785e578475c4e7e52c3ecfd/extensions/shared/src/main/java/app/revanced/extension/music/patches/misc/AlbumMusicVideoPatch.java#L18 This?
Owner

So it's not an official patch

So it's not an official patch
MidnightQuery commented 2025-04-11 05:46:30 +00:00 (Migrated from github.com)

So it's not an official patch

Yeah, it's my bad. Should had mentioned it's implemented in Youtube Music Revanced Extended by inotia00.
Though the implementation on first glance seem to differs quite a bit. The userscript patches the player code to force an audio-only mode, effectively disabling or bypassing the video track without loading or rendering the video content. While the RVX Music detects if the video belongs to an album, then fetches the corresponding official audio track and redirects playback to that audio.
The userscript seems like it is more comprehensive than the Youtube Music Revanced Extended, but might be a nightmare to implement as it patches so many things.

> So it's not an official patch Yeah, it's my bad. Should had mentioned it's implemented in Youtube Music Revanced Extended by inotia00. Though the implementation on first glance seem to differs quite a bit. The userscript patches the player code to force an audio-only mode, effectively disabling or bypassing the video track without loading or rendering the video content. While the RVX Music detects if the video belongs to an album, then fetches the corresponding official audio track and redirects playback to that audio. The userscript seems like it is more comprehensive than the Youtube Music Revanced Extended, but might be a nightmare to implement as it patches so many things.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#3220
No description provided.