[SCM] morituri/master: Use all but last track to find offset.
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:10:02 UTC 2014
The following commit has been merged in the master branch:
commit 18cb676d81df0ca2130feac1c71a94a47c2959e1
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Sat Mar 2 11:57:52 2013 +0100
Use all but last track to find offset.
Fixes problems for people whose reader doesn't do overread on the
last track.
diff --git a/morituri/rip/offset.py b/morituri/rip/offset.py
index 43e3131..bc7ca1d 100644
--- a/morituri/rip/offset.py
+++ b/morituri/rip/offset.py
@@ -170,8 +170,9 @@ CD in the AccurateRip database."""
'Offset of device is likely %d, confirming ...\n' %
offset)
- # now try and rip all other tracks as well
- for track in range(2, len(table.tracks) + 1):
+ # now try and rip all other tracks as well, except for the
+ # last one (to avoid readers that can't do overread
+ for track in range(2, (len(table.tracks) + 1) - 1):
try:
archecksum = self._arcs(runner, table, track, offset)
except task.TaskException, e:
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list