diff options
-rw-r--r-- | src/content/dependencies/generateArtistGroupContributionsInfo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateArtistGroupContributionsInfo.js b/src/content/dependencies/generateArtistGroupContributionsInfo.js index 374849ac..a51f516b 100644 --- a/src/content/dependencies/generateArtistGroupContributionsInfo.js +++ b/src/content/dependencies/generateArtistGroupContributionsInfo.js @@ -36,7 +36,7 @@ export default { for (const track of filteredTracks) { for (const group of track.album.groups) { groupToCountMap.set(group, groupToCountMap.get(group) + 1); - if (track.duration) { + if (track.duration && track.originalReleaseTrack === null) { groupToDurationMap.set(group, groupToDurationMap.get(group) + track.duration); groupToDurationCountMap.set(group, groupToDurationCountMap.get(group) + 1); } |