Merge logger codebase with morituri-yamllogger's one

This commit is contained in:
JoeLametta
2016-08-25 19:28:47 +02:00
parent 84c2d2439c
commit 8c83c4a4cb

View File

@@ -34,11 +34,12 @@ class MorituriLogger(result.Logger):
lines.append(" Defeat audio cache: %s" % defeat)
lines.append(" Read offset correction: %+d" % ripResult.offset)
# Currently unsupported by the official cdparanoia package
over = "Unknown"
if ripResult.overread is True:
over = "Yes"
elif ripResult.overread is False:
over = "No"
over = "No"
try:
if ripResult.overread is True:
over = "Yes"
except NameError:
pass
lines.append(" Overread into lead-out: %s" % over)
# Next one fully works only using the patched cdparanoia package
# lines.append("Fill up missing offset samples with silence: Yes")