From 4bfbc9071db576170b2919ed57ae3690c38e7ada Mon Sep 17 00:00:00 2001 From: JoeLametta Date: Sat, 5 Sep 2015 17:43:58 +0200 Subject: [PATCH] Make clearer what `pycdio` is needed for Completely addresses thomasvs/morituri#96. --- README.md | 1 + morituri/rip/drive.py | 1 + morituri/rip/offset.py | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 828b439..8c33f18 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ REQUIREMENTS - python-setuptools, for plugin support - python-cddb, for showing but not using disc info if not in musicbrainz - pycdio, for drive identification (optional) + - Required for drive offset and caching behaviour to be stored in the config file Additionally, if you're building from a git checkout: - autoconf diff --git a/morituri/rip/drive.py b/morituri/rip/drive.py index 0ed133d..2e136d4 100644 --- a/morituri/rip/drive.py +++ b/morituri/rip/drive.py @@ -67,6 +67,7 @@ class Analyze(logcommand.LogCommand): info = drive.getDeviceInfo(self.options.device) if not info: + self.stdout.write('Drive caching behaviour not saved: could not get device info (requires pycdio).\n') return self.stdout.write( diff --git a/morituri/rip/offset.py b/morituri/rip/offset.py index 965c9f0..4fb270f 100644 --- a/morituri/rip/offset.py +++ b/morituri/rip/offset.py @@ -239,6 +239,7 @@ CD in the AccurateRip database.""" info = drive.getDeviceInfo(device) if not info: + self.stdout.write('Offset not saved: could not get device info (requires pycdio).\n') return self.stdout.write('Adding read offset to configuration file.\n')