[SCM] morituri/master: don't fail on htoa because we have no musicbrainz info
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:19 UTC 2014
The following commit has been merged in the master branch:
commit 57b7057bd31c3838a2206621d3bed437eee5a9a9
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Fri Apr 16 20:59:15 2010 +0000
don't fail on htoa because we have no musicbrainz info
diff --git a/morituri/common/program.py b/morituri/common/program.py
index a85a6b5..35e84c7 100644
--- a/morituri/common/program.py
+++ b/morituri/common/program.py
@@ -385,10 +385,12 @@ class Program(log.Loggable):
str(date))
ret[gst.TAG_DATE] = s['date']
- ret["musicbrainz-trackid"] = mbidTrack
- ret["musicbrainz-artistid"] = mbidTrackArtist
- ret["musicbrainz-albumid"] = mbidAlbum
- ret["musicbrainz-albumartistid"] = mbidTrackAlbum
+ # no musicbrainz info for htoa tracks
+ if number > 0:
+ ret["musicbrainz-trackid"] = mbidTrack
+ ret["musicbrainz-artistid"] = mbidTrackArtist
+ ret["musicbrainz-albumid"] = mbidAlbum
+ ret["musicbrainz-albumartistid"] = mbidTrackAlbum
# FIXME: gst.TAG_ISRC
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list