summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-08-16 21:53:41 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-08-16 21:53:41 +0200
commitfe57e38ba374fbbefdc7ba1b96ca9dcfe6795565 (patch)
tree7c67350b86369e76e94b8d6402564279de910ade
parent6643d0b0059140bb085c2bf506c9a198ad05764c (diff)
Add frames to start time.
-rw-r--r--cuesheet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cuesheet.py b/cuesheet.py
index 827dbd9..cfcb64c 100644
--- a/cuesheet.py
+++ b/cuesheet.py
@@ -62,7 +62,7 @@ class Track(object):
def get_start_time(self):
index = self.index
- return int(index[1])*60 + int(index[2])
+ return int(index[1])*60 + int(index[2]) + float(index[3])/75
def get_length(self):
return self.nextstart - self.get_start_time()