From 1ca176a91ac0eb305c9fc600e42600fe13126668 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 1 Jan 2011 17:51:54 +0000 Subject: [PATCH] eject as well --- morituri/rip/cd.py | 2 ++ 1 file changed, 2 insertions(+) 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