ubports / music-app

Moved to GitLab
https://gitlab.com/ubports/app-dev/music-app
GNU General Public License v3.0
8 stars 10 forks source link

No thumbnail for some artists #2

Open ghost opened 7 years ago

ghost commented 7 years ago

In the "Artist" view, some artists do not have a thumbnail. My guess is that thumbnails are automatically imported from an online source, but I do not know which one. Could you tell me that, this way I could potentially contribute and improve the database for myself and other users of Music. Thank you for your feedback.

Flohack74 commented 7 years ago

@sverzegnassi is this the proprietary datasource by Canonical?

sverzegnassi commented 7 years ago

@Flohack74 Yep, artists thumbnails are downloaded from Canonical servers. I don't think there's a known way to improve their database though. e.g. https://dash.ubuntu.com/musicproxy/v1/artist-art?artist=The%20Beatles&album=&key=0f450aa882a6125ebcbfb3d7f7aa25bc

Btw, this issue is about the Ubuntu Thumbnailer project, since music-app doesn't fetch covers directly.

ahayzen commented 7 years ago

IIRC this was a proxy to 7 Digital [0] at one point, can't remember if it still is. From my understanding extra sources, eg picking from google images or wikipedia, could be added to the thumbnailer service [1].

0 - https://www.7digital.com/ 1 - https://launchpad.net/thumbnailer

sverzegnassi commented 7 years ago

Yes, it's still a proxy to 7Digital. I've just checked for a few artists thumbnails, and they're the same.

MusicBrainz might be an interesting solution as well. Database data are mostly CC0-licensed, and seems to offer some further thumbnail which is not available on 7D - I've looked for some Italian artists, images are fetched from Wikipedia in most cases. Since it's an open database, it would allow us to do some data manipulation in order to e.g. fetch an album cover as fallback, or even hosting the database on UBports (just saying).

https://musicbrainz.org/

Flohack74 commented 7 years ago

Ok I put this here for enhancement. Lets see what we can do with the thumbnailer btw @sverzegnassi should we open a repo "thumbnailer-component" ?

ahayzen commented 7 years ago

For reference there was some initial discussion on musicbrainz integration here [2].

2 - https://bugs.launchpad.net/ubuntu/+source/thumbnailer/+bug/1570335

advocatux commented 6 years ago

Maybe we can use the Cover Art Archive project for this [0]. In this way our users can collaborate uploading cover art too, not just using a service without giving anything in return ;)

Cover Art Archive is a joint project between the Internet Archive and MusicBrainz, and the latter is the one providing an API [1] to retrieve cover art via a release MBID [2].

[0] http://coverartarchive.org/ [1] https://musicbrainz.org/doc/Cover_Art_Archive/API [2] https://musicbrainz.org/doc/MusicBrainz_Identifier