forgot to decode all tracks of an album

This commit is contained in:
soergeld 2020-04-27 15:03:55 +02:00
parent 98389b6161
commit 63df7cf3ed

View file

@ -165,6 +165,10 @@ class AlbumInfo(Map):
if isinstance(value, bytes):
setattr(self, fld, value.decode(codec, 'ignore'))
if 'tracks' in self:
for track in self.tracks:
track.decode(codec)
class TrackInfo(Map):
"""Describes a canonical track present on a release. Appears as part