From 1d046c60f758b5a32e6ba8ac3126e915564f873c Mon Sep 17 00:00:00 2001 From: JoeLametta Date: Sun, 29 Nov 2015 19:56:13 +0100 Subject: [PATCH] Fix overread patch With my previous overread patch, the command `rip offset find` made morituri fail: hopefully this one completely solves the issue. --- morituri/result/logger.py | 2 +- morituri/rip/offset.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/morituri/result/logger.py b/morituri/result/logger.py index 17de137..9597ba8 100644 --- a/morituri/result/logger.py +++ b/morituri/result/logger.py @@ -41,7 +41,7 @@ class MorituriLogger(result.Logger): lines.append("Ripper: morituri %s" % configure.version) date = time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime(epoch)).strip() lines.append("Ripped at: %s" % date) - lines.append("Drive: %s%s{%s}" % + lines.append("Drive: %s%s (revision %s)" % (ripResult.vendor, ripResult.model, ripResult.release)) defeat = "Unknown" if ripResult.cdparanoiaDefeatsCache is True: diff --git a/morituri/rip/offset.py b/morituri/rip/offset.py index 4fb270f..822ab39 100644 --- a/morituri/rip/offset.py +++ b/morituri/rip/offset.py @@ -218,7 +218,7 @@ CD in the AccurateRip database.""" t = cdparanoia.ReadTrackTask(path, table, table.getTrackStart(track), table.getTrackEnd(track), - offset=offset, device=self.options.device) + overread=False, offset=offset, device=self.options.device) t.description = 'Ripping track %d with read offset %d' % ( track, offset) runner.run(t)