* examples/readdisc.py:

* examples/readhtoa.py:
	* examples/readtoc.py:
	  Rename IndexTable to Table.
This commit is contained in:
Thomas Vander Stichele
2009-05-16 09:51:03 +00:00
parent 0a56fc129e
commit 96ac69a13d
4 changed files with 12 additions and 5 deletions

View File

@@ -234,7 +234,7 @@ def main(argv):
# now, read the complete index table, which is slower
ptable = common.Persister(options.table_pickle or None)
if not ptable.object:
t = cdrdao.ReadIndexTableTask()
t = cdrdao.ReadTableTask()
function(runner, t)
ptable.persist(t.table)
itable = ptable.object
@@ -270,7 +270,7 @@ def main(argv):
print 'Checksums match for track %d' % 0
else:
print 'ERROR: checksums did not match for track %d' % 0
# overlay this rip onto the IndexTable
# overlay this rip onto the Table
itable.setFile(1, 0, htoapath, htoalength, 0)
@@ -294,7 +294,7 @@ def main(argv):
else:
print 'ERROR: checksums did not match for track %d' % (i + 1)
# overlay this rip onto the IndexTable
# overlay this rip onto the Table
itable.setFile(i + 1, 1, path, ittoc.getTrackLength(i + 1), i + 1)