youtube-music
youtube-music copied to clipboard
[Feature Request]: Replace playlist image
Preflight Checklist
- [X] I use the latest version of YouTube Music (Application).
- [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
Allow user to locally change art / image of a playlist.
Proposed Solution
- Setting images locally, the image replaces the url.
Using some kind of observer or some way where if a specific URL is supposed to be loaded it loads the altered version of the playlist image
Alternatives Considered
- Setting images URL, user would input a link to an image
Using some kind of observer or some way where if a specific URL is supposed to be loaded it loads the altered version of the playlist image
Additional Information
I have a trash userscript version of this but it works: https://greasyfork.org/en/scripts/493560-playlist-cover-replacer/code
Instead of an observer I'd use css for this
e.g.
img[src="https://music.youtube.com/image/mixart?r=ENgEGNgEMiQIBhoNL2cvMTFxcXkzNXdkMRoNL2cvMTFzMmozeGhoYyICZW4"] {
content: url("https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-12/256/dog-face.png");
}
Note: doesn't work great with auto-generated playlists, since their thumbnail keeps changing
Well the way I would do it is to only have it for custom playlist as a way to mimic what spotify has.
Since the thumbnail of the custom playlist is determined by the first four songs, the custom thumbnail set by the user could also have an association with the URL of the playlist. And every time the user drags songs around, it would check if the custom thumbnail is applied to make sure it doesn't get changed. I'm not sure if there can be a script that would recognize the first four songs, since that would be way more efficient. So it might have to check with every drag event? That's what I gathered with my extremely basic programming knowledge.