Fetching artwork
This page contains implementation details on how automatic album art fething works.
TLDR: If track contains MBID, component will try using it. If not, it will try to find MBID by album and artist.
Algorithm
When artwork is requested, component does the following:
- Check if track contains either MUSICBRAINZ_ALBUMIDorMUSICBRAINZ ALBUM IDtag (malformed tags are skipped) and use it as MBID for next steps.
- If track does not contain MBID tag, then try to find MBID by album and artist via MusicBrainzAPI:- Find release group: https://www.musicbrainz.org/ws/2/release-group?artist:"{ARTIST}"+releasegroup:"{ALBUM}".
- Select the first release-groupsfrom response and try to find entry inreleasesthat contains artwork:- Get release info: https://www.musicbrainz.org/ws/2/release/{MBID}.
- Check if cover-art-archive[artwork]istrue.
 
- Get release info: 
 
- Find release group: 
- Fetch album art url from Cover Art Archive:- http://coverartarchive.org/release/{MBID}/front-1200