Closed tkem closed 4 years ago
So maybe this is a good reason to introduce path
URIs after all, i.e. Using the track URIs path up to the last (file) segment as the album URI. Will still mess up track numbers for most people, and produce unpredictable results for flat file hierarchies, so this should be configurable.
AFAICS, excluging num_tracks
has already been implemented in Mopidy-Local, and images
are no longer part of the Album
model, so...
Currently, a multi-disc album will generate multiple
album
rows if the album doesn't have amusicbrainz_id
and individual discs have different track counts, due to the waymd5
URIs are calculated. According to Mopidy's metadata model, these should be handled as a single album. Note that this will not fix the album'snum_tracks
, which should probably be set to the total number of tracks, which is difficult to determine if a track's tags only provide the number of tracks for its disc.Different album tracks may also include different images. Since Mopidy only handles album artwork for now, this will also create multiple album instances, unless the album URI is created from a
musicbrainz_id
.