* morituri/common/program.py:
* morituri/rip/cd.py: Reset rip duration when we continue a rip but have to rerip a track.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2012-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/common/program.py:
|
||||
* morituri/rip/cd.py:
|
||||
Reset rip duration when we continue a rip but have to rerip
|
||||
a track.
|
||||
|
||||
2012-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/common/program.py:
|
||||
|
||||
@@ -470,6 +470,11 @@ class Program(log.Loggable):
|
||||
|
||||
runner.run(t)
|
||||
|
||||
self.debug('ripped track')
|
||||
self.debug('test speed %.3f/%.3f seconds' % (
|
||||
t.testspeed, t.testduration))
|
||||
self.debug('copy speed %.3f/%.3f seconds' % (
|
||||
t.copyspeed, t.copyduration))
|
||||
trackResult.testcrc = t.testchecksum
|
||||
trackResult.copycrc = t.copychecksum
|
||||
trackResult.peak = t.peak
|
||||
|
||||
@@ -260,7 +260,11 @@ See http://sourceforge.net/tracker/?func=detail&aid=604751&group_id=2171&atid=1
|
||||
os.unlink(path)
|
||||
|
||||
if not os.path.exists(path):
|
||||
self.debug('path %r does not exist, ripping...' % path)
|
||||
tries = 0
|
||||
# we reset durations for test and copy here
|
||||
trackResult.testduration = 0.0
|
||||
trackResult.copyduration = 0.0
|
||||
self.stdout.write('Ripping track %d of %d: %s\n' % (
|
||||
number, len(itable.tracks),
|
||||
os.path.basename(path).encode('utf-8')))
|
||||
|
||||
Reference in New Issue
Block a user