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

Pulling covers from Last.FM over MusicBrainz? #92

Open
n0stal6ic opened this issue Dec 16, 2024 · 0 comments
Open

Pulling covers from Last.FM over MusicBrainz? #92

n0stal6ic opened this issue Dec 16, 2024 · 0 comments

Comments

@n0stal6ic
Copy link

Would love to at least see another option where the cover can be pulled from Last.FM over MusicBrainz.
Sometimes the covers on MusicBrainz are different and varied from the actual covers on the album (especially updated ones).
Example that I got it to work on was James Blunts "Back To Bedlam" album. Would pull an older version for the cover.
This also would probably cover images that aren't uploaded on MusicBrainz because of more recently published albums.
Users can easily add their own covers to the last.fm album and have it display the cover without much effort. This is also a good case for more "underground" albums as well.
Id just like the option because I know crowd-sourced and voted on images from last.fm are almost always accurate and great quality.
This also would add gif support for album gifs that are ranked to the number one position.

You can grab images in their native resolution by removing the resolution tags from the url scheme on last.fm.
Easy implementation with addition and modification of artist/album tags to match last.fm url scheme
Example: https://last.fm/music/<ARTIST>/<ALBUM>/ and from there fetch the cover.
If there is a space in between any of the artist/album text it should be replaced with a "+" which is what last.fm uses as a space.
Cover Example: https://lastfm.freetls.fastly.net/i/u/500x500/3031ceaa16a9d85143cc29119eb8b8bb.jpg
Then just remove the 500x500/ or 770x0/ from the url and it will grab the full resolution cover.

I know a majority of foobar users who use discord also have a very good likelyhood of also using last.fm too. This feature would be amazing if implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant