grilo-plugins issueshttps://gitlab.gnome.org/GNOME/grilo-plugins/-/issues2019-05-29T10:10:23Zhttps://gitlab.gnome.org/GNOME/grilo-plugins/-/issues/9musicbrainz-coverart: Add support for release group coverart2019-05-29T10:10:23ZJean Feldermusicbrainz-coverart: Add support for release group coverartIn [Musicbrainz](https://musicbrainz.org/) terminology, a [Release](https://musicbrainz.org/doc/Release) is "the unique release (i.e. issuing) of a product on a specific date with specific release information such as the country, label, ...In [Musicbrainz](https://musicbrainz.org/) terminology, a [Release](https://musicbrainz.org/doc/Release) is "the unique release (i.e. issuing) of a product on a specific date with specific release information such as the country, label, barcode and packaging" while a [Release Group](https://musicbrainz.org/doc/Release_Group) "is used to group several different releases into a single logical entity."
The musicbrainz plugin is only able to build a thumbnail with a release id. However, most of the time, a release does not have a coverart. In that case, the returned thumbnail should be the one from the ("release-group")[https://musicbrainz.org/doc/Cover_Art_Archive/API#.2Frelease-group.2F.7Bmbid.7D.2Ffront.5B-.28250.7C500.7C1200.29.5D] if it exists.
It needs the following changes:
1. in acoustid plugin, retrieve the release-group id and store it in a runtime key
2. in musicbrainz-coverart, add the following logic:
1. try to get the coverart from the release id
2. if the release coverart does not exist, try to get the one associated with the relase-group idgrilo-plugins-0.3.8