diff --git a/morituri/command/cd.py b/morituri/command/cd.py index 8ddaafa..dbfcced 100644 --- a/morituri/command/cd.py +++ b/morituri/command/cd.py @@ -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: diff --git a/morituri/result/logger.py b/morituri/result/logger.py index 98d6bf9..ce89a0a 100644 --- a/morituri/result/logger.py +++ b/morituri/result/logger.py @@ -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" diff --git a/morituri/result/result.py b/morituri/result/result.py index a861341..26f72ad 100644 --- a/morituri/result/result.py +++ b/morituri/result/result.py @@ -57,6 +57,7 @@ class TrackResult: number = None filename = None pregap = 0 # in frames + pre_emphasis = None peak = 0.0 quality = 0.0