[Feature Request]: Audio Only #3220
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#3220
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Preflight Checklist
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
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.
Implementing this behavior would require patching a large amount of internal code and would likely break most behaviors that rely on the
<video>
element.42cc8201f5/extensions/shared/src/main/java/app/revanced/extension/music/patches/misc/AlbumMusicVideoPatch.java (L18)
This?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.