* morituri/common/program.py:

For Various Artists releases, fall back to the release artist if
	  the track artist is None.
This commit is contained in:
Thomas Vander Stichele
2009-12-28 16:50:36 +00:00
parent 83027a710a
commit 26ecd42c2f
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2009-12-28 Thomas Vander Stichele <thomas at apestaart dot org>
* 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 <thomas at apestaart dot org>
* morituri/image/image.py:

View File

@@ -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)