[SCM] morituri/master: * morituri/common/program.py: For Various Artists releases, fall back to the release artist if the track artist is None.
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:14 UTC 2014
The following commit has been merged in the master branch:
commit 26ecd42c2f7a17e58ef01d6f51cd3304cb7f397a
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Mon Dec 28 16:50:36 2009 +0000
* morituri/common/program.py:
For Various Artists releases, fall back to the release artist if
the track artist is None.
diff --git a/ChangeLog b/ChangeLog
index c00d809..7711202 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
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)
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list