[SCM] morituri/master: fix case of not having mb info
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:18 UTC 2014
The following commit has been merged in the master branch:
commit 3c8a89a2ba67c0fe21e26c3a1b8fd08d2a138053
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Tue Apr 13 22:22:28 2010 +0000
fix case of not having mb info
diff --git a/morituri/rip/image.py b/morituri/rip/image.py
index 622bd56..1dc0bee 100644
--- a/morituri/rip/image.py
+++ b/morituri/rip/image.py
@@ -105,11 +105,16 @@ class Retag(logcommand.LogCommand):
runner = task.SyncRunner()
for arg in args:
+ print 'Retagging image %r' % arg
arg = unicode(arg)
cueImage = image.Image(arg)
cueImage.setup(runner)
mbdiscid = cueImage.table.getMusicBrainzDiscId()
+ if not mbdiscid:
+ print 'Not in MusicBrainz database, skipping'
+ continue
+
prog.metadata = prog.getMusicBrainz(cueImage.table, mbdiscid)
# FIXME: this feels like we're poking at internals.
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list