Fix overread patch

With my previous overread patch, the command `rip offset find` made
morituri fail: hopefully this one completely solves the issue.
This commit is contained in:
JoeLametta
2015-11-29 19:56:13 +01:00
parent dceb10f410
commit 1d046c60f7
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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)