[SCM] morituri/master: output drive cache defeating in rip drive list

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


The following commit has been merged in the master branch:
commit 24c48ba672cdfda4eb3577b63869cb2ae779f7f5
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun Jan 20 20:33:21 2013 +0100

    output drive cache defeating in rip drive list

diff --git a/morituri/rip/drive.py b/morituri/rip/drive.py
index 2bac282..8aad4cd 100644
--- a/morituri/rip/drive.py
+++ b/morituri/rip/drive.py
@@ -111,7 +111,18 @@ class List(logcommand.LogCommand):
                     "       Configured read offset: %d\n" % offset)
             except KeyError:
                 self.stdout.write(
-                    "No read offset found.  Run 'rip offset find'\n")
+                    "       No read offset found.  Run 'rip offset find'\n")
+
+            try:
+                defeats = self.getRootCommand().config.getDefeatsCache(
+                    vendor, model, release)
+                self.stdout.write(
+                    "       Can defeat audio cache: %s\n" % defeats)
+            except KeyError:
+                self.stdout.write(
+                    "       Unknown whether audio cache can be defeated. "
+                    "Run 'rip drive analyze'\n")
+
 
         if not paths:
             self.stdout.write('No drives found.\n')

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list