Files
whipper-gui/examples/readtoc.py
Thomas Vander Stichele 8286bf9b22 * examples/readtoc.py:
* morituri/program/cdrdao.py (added):
	  Move the ReadTocTask to the new cdrdao module.
2009-05-01 18:57:28 +00:00

19 lines
340 B
Python

# -*- Mode: Python -*-
# vi:si:et:sw=4:sts=4:ts=4
from morituri.common import task, log
from morituri.program import cdrdao
def main():
log.init()
runner = task.SyncRunner()
t = cdrdao.ReadTOCTask()
runner.run(t)
print 'runner done', t.toc
for track in t.toc.tracks:
print track._indexes
main()