PICARD-2064: Fixed clusters not showing album name in album column

This commit is contained in:
Philipp Wolfer
2020-12-14 15:19:42 +01:00
parent 87fad6f710
commit d54a843a2b

View File

@@ -231,7 +231,7 @@ class Cluster(FileList):
def column(self, column):
if column == 'title':
return '%s (%d)' % (self.metadata['album'], len(self.files))
elif (column == '~length' and self.special) or column == 'album':
elif self.special and (column in ['~length', 'album']):
return ''
elif column == '~length':
return format_time(self.metadata.length)