* morituri/image/cue.py:

publicize CueFile.tracks
	  Add a method to get track lengths
	* examples/readcue.py:
	  Use it.
This commit is contained in:
Thomas Vander Stichele
2009-02-28 13:43:44 +00:00
parent 7e1c8aac31
commit 4c2b6e4c74
3 changed files with 32 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ def main(path):
cuefile = cue.Cue(path)
cuefile.parse()
print cuefile._tracks
print cuefile.tracks
path = 'test.cue'