Fix bug introduced in fb271f08c
This commit is contained in:
@@ -392,6 +392,8 @@ Log files will log the path to tracks relative to this directory.
|
||||
if number > 0:
|
||||
trackResult.pregap = self.itable.tracks[number - 1].getPregap()
|
||||
|
||||
trackResult.pre_emphasis = self.itable.tracks[number - 1].pre_emphasis
|
||||
|
||||
# FIXME: optionally allow overriding reripping
|
||||
if os.path.exists(path):
|
||||
if path != trackResult.filename:
|
||||
|
||||
@@ -182,8 +182,8 @@ class MorituriLogger(result.Logger):
|
||||
lines.append(" Peak level: %.6f" % peak)
|
||||
|
||||
# Pre-emphasis status
|
||||
# Only implemented in whipper (t.pre_emphasis)
|
||||
if t.pre_emphasis:
|
||||
# Only implemented in whipper (trackResult.pre_emphasis)
|
||||
if trackResult.pre_emphasis:
|
||||
preEmph = "Yes"
|
||||
else:
|
||||
preEmph = "No"
|
||||
|
||||
@@ -57,6 +57,7 @@ class TrackResult:
|
||||
number = None
|
||||
filename = None
|
||||
pregap = 0 # in frames
|
||||
pre_emphasis = None
|
||||
|
||||
peak = 0.0
|
||||
quality = 0.0
|
||||
|
||||
Reference in New Issue
Block a user