From 8bda9f991ab824d66940d02e9c6ada3184404022 Mon Sep 17 00:00:00 2001 From: Auguste Olivry Date: Tue, 5 Jan 2021 14:07:00 +0100 Subject: [PATCH] Keep index tracks in coalesced tracklist --- beetsplug/discogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index 3b2595585..29a7e8585 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -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: