What determines album tracklists?

ListenBrainz ‘album’ URLs seem to map to release group IDs, e.g. ListenBrainzRelease group “The Patriot” by John Williams - MusicBrainz

Given this, how are album tracklists determined? Does ListenBrainz pick the tracklist from the earliest release in the release group? In my example above the recent expanded release adds 2 extra CDs’ worth of material, but this hasn’t shown up on the ListenBrainz album page.

2 Likes

To answer my own question - I think the tracklist comes from the ‘canonical release’, which is generally the earliest release in a release group (I think): listenbrainz-server/mbid_mapping/mapping/canonical_release.py at master · metabrainz/listenbrainz-server · GitHub

Yes, I understand that the release group’s first album is the one that will be assigned as “canonical release”. I have some problems with this, since sometimes a song from an album can be in a sampler or a previous release to the current album and the scrobbles will be from the previous album (since they don’t create them as new releases, but they link them from the previous album etc.). This causes that when you see your statistics you have songs from the same album but they are reflected as some songs from album “A” and others from album “B” (Sampler, demo, compilation, etc.).

You can also add albums manually and you will be able to see the different albums that are added.

1 Like