* examples/movecue.py:
* examples/readcue.py: * morituri/image/cue.py: * morituri/image/image.py: * morituri/image/toc.py: * morituri/program/cdrdao.py: * morituri/test/test_image_cue.py: * morituri/test/test_image_toc.py: Cue -> CueFile TOC -> TocFile
This commit is contained in:
@@ -57,7 +57,7 @@ _INDEX_RE = re.compile(r"""
|
||||
""", re.VERBOSE)
|
||||
|
||||
|
||||
class Cue(object, log.Loggable):
|
||||
class CueFile(object, log.Loggable):
|
||||
def __init__(self, path):
|
||||
self._path = path
|
||||
self._rems = {}
|
||||
|
||||
@@ -45,7 +45,7 @@ class Image(object, log.Loggable):
|
||||
@param path: .cue path
|
||||
"""
|
||||
self._path = path
|
||||
self.cue = cue.Cue(path)
|
||||
self.cue = cue.CueFile(path)
|
||||
self.cue.parse()
|
||||
self._offsets = [] # 0 .. trackCount - 1
|
||||
self._lengths = [] # 0 .. trackCount - 1
|
||||
|
||||
@@ -64,7 +64,7 @@ _INDEX_RE = re.compile(r"""
|
||||
\s(?P<offset>.+)$ # start offset
|
||||
""", re.VERBOSE)
|
||||
|
||||
class TOC:
|
||||
class TocFile(object):
|
||||
def __init__(self, path):
|
||||
self._path = path
|
||||
self._messages = []
|
||||
|
||||
Reference in New Issue
Block a user