diff --git a/src/Logchecker.php b/src/Logchecker.php index 0cef1ba..225d9cb 100644 --- a/src/Logchecker.php +++ b/src/Logchecker.php @@ -243,6 +243,10 @@ class Logchecker } $Yaml[$Key]['Defeat audio cache'] = "{$Value}"; + + if (is_bool($Yaml[$Key]['Overread into lead-out'])) { + $Yaml[$Key]['Overread into lead-out'] = $Yaml[$Key]['Overread into lead-out'] ? 'true' : 'false'; + } $Yaml[$Key]['Overread into lead-out'] = "{$Yaml[$Key]['Overread into lead-out']}"; // CD Metadata diff --git a/tests/logs/whipper/html/1.log b/tests/logs/whipper/html/1.log index a90f5fb..e5dc9f6 100644 --- a/tests/logs/whipper/html/1.log +++ b/tests/logs/whipper/html/1.log @@ -6,7 +6,7 @@ Ripping phase information: Extraction engine: cdparanoia III 10.2 libcdio 2.1.0 x86_64-pc-linux-gnu Defeat audio cache: true Read offset correction: +30 - Overread into lead-out: + Overread into lead-out: false Gap detection: cdrdao 1.2.4 CD-R detected: false diff --git a/tests/logs/whipper/html/invalid_hash.log b/tests/logs/whipper/html/invalid_hash.log index c110c09..36c6d3d 100644 --- a/tests/logs/whipper/html/invalid_hash.log +++ b/tests/logs/whipper/html/invalid_hash.log @@ -6,7 +6,7 @@ Ripping phase information: Extraction engine: cdparanoia III 10.2 libcdio 2.1.0 x86_64-pc-linux-gnu Defeat audio cache: true Read offset correction: +30 - Overread into lead-out: + Overread into lead-out: false Gap detection: cdrdao 1.2.4 CD-R detected: false diff --git a/tests/logs/whipper/html/missing_hash.log b/tests/logs/whipper/html/missing_hash.log index 7470563..e6b9492 100644 --- a/tests/logs/whipper/html/missing_hash.log +++ b/tests/logs/whipper/html/missing_hash.log @@ -6,7 +6,7 @@ Ripping phase information: Extraction engine: cdparanoia III 10.2 libcdio 2.1.0 x86_64-pc-linux-gnu Defeat audio cache: true Read offset correction: +30 - Overread into lead-out: + Overread into lead-out: false Gap detection: cdrdao 1.2.4 CD-R detected: false