Keep index tracks in coalesced tracklist

This commit is contained in:
Auguste Olivry 2021-01-05 14:07:00 +01:00
parent 53dcb24d10
commit 8bda9f991a

View file

@ -499,7 +499,7 @@ class DiscogsPlugin(BeetsPlugin):
else:
# Promote the subtracks to real tracks, discarding the
# index track, assuming the subtracks are physical tracks.
index_track = tracklist.pop()
index_track = tracklist[-1]
# Fix artists when they are specified on the index track.
if index_track.get('artists'):
for subtrack in subtracks: