-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fetchart: Use MusicBrainz' Bandcamp/Discogs/... association to fetch art #4707
Comments
Hi! I think we already have Discogs covered in #429. And just to be technical about it, MusicBrainz itself doesn't have cover art—it hosts stuff at CoverArtArchive, which fetchart does already support. (I think, following the discussion from #4676, that the goal may be to use MB's Discogs association to fetch art?) |
There are other sources that provide cover art - Spotify and JioSaavn (a plugin that I added). Both of them provide the image url for the cover art that can be easily retrieved. |
I guess the question is: is the idea that the cover art would be retrieved without the |
At the very least, we should be able to pass an image URL (including from any user defined plugin) that BTW, I do have a related open PR that allows passing an image URL to the |
Actually, it should be applicable to any service that provides album art. For example, Spotify also provides album art. I am assuming once we implement it for one service, it can be extended to others. |
From what I gathered, there seems to be two main ideas floating around 1. Fetching art in a more datasource-agnostic mannerFor example, we use album data from MusicBrainz but we are able to fallback to other data sources when MusicBrainz does not provide cover data. I think this is a great idea. I've experimented with something similar in this dev branch of beetcamp, where I attempted to query discogs for some of the data missing on bandcamp. I've been thinking about this from a more general perspective - as a user, I would love the ability to combine data coming from various sources instead of having to pick just one of them. 2. Either make
|
Thanks for expanding on this a little bit! The way that
I'd be interested to hear others' thoughts on the trade-offs here. I kinda think the most natural option is 2 above: just add a new Bandcamp backend to the |
I like option 2 :-) |
The problem with option 2 is that we will have to add that for every source. For official plugins, Option 2 is fine, but we need a generic approach. I like the |
I could be wrong, but I think the |
@sampsyo what about storing This would also nicely cover the issue regarding album vs items cover photos (for example, on Bandcamp in rare cases an individual song within an album may have a different cover photo from the album). We may consider allowing the user to choose whether to apply the album or the item cover art, if it exists? |
Sure; I can see that working. The "communication channel" described in Option 3 would become that flexible attribute. This does create a somewhat weird possibility where the |
Good point. I feel like consistency is very important here, and thus we would ideally have a single source of truth. How complicated would it be to extend |
@sampsyo Even if the user reimports with a different source, the cover art will not be wrong (if it is not updated). Users can always update the |
Shouldn't it just be another function (say |
Discussed in #4676
Originally posted by evur February 12, 2023
There are instances where covers are only available from one of these and not from the currently implemented sources.
The Discogs ID can be retrieved from the MusicBrainz data. This allows for finding a cover precisely should Discogs have it and MusicBrainz (via CoverArtArchive) not.
The text was updated successfully, but these errors were encountered: