Commits

Markus Kuppe  committed 30d12e2

Read tracks from a given cue sheet file and add as CHAPs to mp3 file (format to pyDev code style)

  • Participants
  • Parent commits 5201bb5

Comments (0)

Files changed (1)

File src/eyed3/cue/cue.py

 class CueTrackData(object):
    
     def __init__(self,
-                 index_time   = None,
-                 title        = None):
+                 index_time=None,
+                 title=None):
 
         # convert 12:43:22 (min:sec:microsec) into milliseconds
         times = index_time.split(':')
         self.index_time += int(times[1]) * 1000
         self.index_time += int(times[2]) * 100
         
-        self.title        = unicode(title, LOCAL_ENCODING)
+        self.title = unicode(title, LOCAL_ENCODING)
         
     def get(self):
         return (self.index_time, ChapterFrame.NO_OFFSET, self.title)
         res = CueData.INDEX_RE.finditer(self.cue_str)
         for item in res:
             data = CueTrackData(
-                    title        = item.group('title'),
-                    index_time   = item.group('index_time')
+                    title=item.group('title'),
+                    index_time=item.group('index_time')
                     )
             self.tracks.append(data)
         
         return self.tracks
-    
+