debug better
This commit is contained in:
@@ -63,7 +63,7 @@ class ChecksumTask(log.Loggable, gstreamer.GstPipelineTask):
|
||||
self.logName = "ChecksumTask 0x%x" % id(self)
|
||||
|
||||
# use repr/%r because path can be unicode
|
||||
self.debug('Creating checksum task on %r from %d to %d',
|
||||
self.debug('Creating checksum task on %r from frame %d to frame %d',
|
||||
path, frameStart, frameLength)
|
||||
if not os.path.exists(path):
|
||||
raise IndexError('%r does not exist' % path)
|
||||
|
||||
@@ -120,7 +120,8 @@ class AccurateRipChecksumTask(log.Loggable, task.MultiSeparateTask):
|
||||
for trackIndex, track in enumerate(cue.table.tracks):
|
||||
index = track.indexes[1]
|
||||
length = cue.getTrackLength(track)
|
||||
self.debug('track %d has length %d' % (trackIndex + 1, length))
|
||||
self.debug('track %d is %d frames long' % (
|
||||
trackIndex + 1, length))
|
||||
|
||||
path = image.getRealPath(index.path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user