[SCM] morituri/master: eject as well

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


The following commit has been merged in the master branch:
commit 1ca176a91ac0eb305c9fc600e42600fe13126668
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sat Jan 1 17:51:54 2011 +0000

    eject as well

diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py
index a082976..1903252 100644
--- a/morituri/rip/cd.py
+++ b/morituri/rip/cd.py
@@ -137,7 +137,9 @@ See  http://sourceforge.net/tracker/?func=detail&aid=604751&group_id=2171&atid=1
 
         prog.metadata = prog.getMusicBrainz(ittoc, mbdiscid)
 
+        # stop if the cd is unknown and we don't want to continue
         if not prog.metadata and not self.options.unknown:
+            prog.ejectDevice(device)
             return -1
 
         # now, read the complete index table, which is slower

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list