[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 866a0a27d9a3dac569b9f599447fa96d7d81edec
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Tue Apr 13 22:24:17 2010 +0000
fix case of not having mb info
diff --git a/morituri/rip/image.py b/morituri/rip/image.py
index 1dc0bee..48662d4 100644
--- a/morituri/rip/image.py
+++ b/morituri/rip/image.py
@@ -111,12 +111,12 @@ class Retag(logcommand.LogCommand):
cueImage.setup(runner)
mbdiscid = cueImage.table.getMusicBrainzDiscId()
- if not mbdiscid:
+ prog.metadata = prog.getMusicBrainz(cueImage.table, mbdiscid)
+
+ if not prog.metadata:
print 'Not in MusicBrainz database, skipping'
continue
- prog.metadata = prog.getMusicBrainz(cueImage.table, mbdiscid)
-
# FIXME: this feels like we're poking at internals.
prog.cuePath = arg
prog.result = result.RipResult()
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list