From 7118555a7f000918e168d6ee835f2edcff9fc9b0 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 18 Aug 2013 21:44:36 +0200 Subject: [PATCH] add doc --- morituri/image/toc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/morituri/image/toc.py b/morituri/image/toc.py index 4190324..22649ad 100644 --- a/morituri/image/toc.py +++ b/morituri/image/toc.py @@ -319,6 +319,10 @@ class TocFile(object, log.Loggable): self._messages.append((number + 1, message)) def getTrackLength(self, track): + """ + Returns the length of the given track, from its INDEX 01 to the next + track's INDEX 01 + """ # returns track length in frames, or -1 if can't be determined and # complete file should be assumed # FIXME: this assumes a track can only be in one file; is this true ?