Use all but last track to find offset.

Fixes problems for people whose reader doesn't do overread on the
last track.
This commit is contained in:
Thomas Vander Stichele
2013-03-02 11:57:52 +01:00
parent fdab6f1e3f
commit 18cb676d81

View File

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