diff --git a/ChangeLog b/ChangeLog index c00d809..7711202 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-12-28 Thomas Vander Stichele + + * morituri/common/program.py: + For Various Artists releases, fall back to the release artist if + the track artist is None. + 2009-10-17 Thomas Vander Stichele * morituri/image/image.py: diff --git a/morituri/common/program.py b/morituri/common/program.py index 0ac935a..2bf11e3 100644 --- a/morituri/common/program.py +++ b/morituri/common/program.py @@ -75,7 +75,8 @@ def getMetadata(release): track.artist = metadata.artist track.title = t.title else: - track.artist = t.artist.name + # various artists discs can have tracks with no artist + track.artist = t.artist and t.artist.name or release.artist.name track.title = t.title metadata.tracks.append(track)