* morituri/program/cdrdao.py:

Convert ReadTableTask to a CDRDAOTask subclass.
	* examples/ARcalibrate.py:
	* morituri/program/cdparanoia.py:
	  Adapt.
This commit is contained in:
Thomas Vander Stichele
2009-05-04 13:48:18 +00:00
parent 6769480d2d
commit 3a75cb2d0f
4 changed files with 29 additions and 111 deletions

View File

@@ -63,8 +63,9 @@ def arcs(runner, function, table, track, offset):
track, offset))
os.close(fd)
track = table.tracks[track - 1]
t = cdparanoia.ReadTrackTask(path, table, track.start, track.end, offset)
table.getTrackLength
t = cdparanoia.ReadTrackTask(path, table, table.getTrackStart(track),
table.getTrackEnd(track), offset)
t.description = 'Ripping with offset %d' % offset
function(runner, t)
@@ -72,7 +73,7 @@ def arcs(runner, function, table, track, offset):
trackCount=len(table.tracks))
function(runner, t)
# os.unlink(path)
os.unlink(path)
return "%08x" % t.checksum
def main(argv):