[SCM] morituri/master: fix problem when not connected

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:08 UTC 2014


The following commit has been merged in the master branch:
commit 5652cee15ee827fa75234b173dc7e047ac0b6d2a
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun Jun 7 22:49:19 2009 +0000

    fix problem when not connected

diff --git a/TODO b/TODO
index 65eea1a..721f451 100644
--- a/TODO
+++ b/TODO
@@ -22,3 +22,4 @@ TODO:
 - persist RipResult so rips can be aborted and continued too; needs verification
   of previously ripped files
 - write moovida plugin
+- cache results of MusicBrainz lookups
diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py
index 6419544..23cbb21 100644
--- a/morituri/rip/cd.py
+++ b/morituri/rip/cd.py
@@ -98,6 +98,7 @@ class Rip(logcommand.LogCommand):
         print "MusicBrainz disc id", mbdiscid
 
         # look up disc on musicbrainz
+        metadatas = None
         try:
             metadatas = program.musicbrainz(mbdiscid)
         except program.MusicBrainzException, e:

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list