瀏覽代碼

fix printing out overread into lead-out

tags/0.9.6
itismadness 4 年之前
父節點
當前提交
a7c36306db
共有 4 個文件被更改,包括 7 次插入3 次删除
  1. +4
    -0
      src/Logchecker.php
  2. +1
    -1
      tests/logs/whipper/html/1.log
  3. +1
    -1
      tests/logs/whipper/html/invalid_hash.log
  4. +1
    -1
      tests/logs/whipper/html/missing_hash.log

+ 4
- 0
src/Logchecker.php 查看文件

@@ -243,6 +243,10 @@ class Logchecker
}

$Yaml[$Key]['Defeat audio cache'] = "<span class='{$Class}'>{$Value}</span>";

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'] = "<span class='log4'>{$Yaml[$Key]['Overread into lead-out']}</span>";

// CD Metadata


+ 1
- 1
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: <span class='good'>true</span>
Read offset correction: <span class='good'>+30</span>
Overread into lead-out: <span class='log4'></span>
Overread into lead-out: <span class='log4'>false</span>
Gap detection: cdrdao 1.2.4
CD-R detected: false



+ 1
- 1
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: <span class='good'>true</span>
Read offset correction: <span class='good'>+30</span>
Overread into lead-out: <span class='log4'></span>
Overread into lead-out: <span class='log4'>false</span>
Gap detection: cdrdao 1.2.4
CD-R detected: false



+ 1
- 1
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: <span class='good'>true</span>
Read offset correction: <span class='good'>+30</span>
Overread into lead-out: <span class='log4'></span>
Overread into lead-out: <span class='log4'>false</span>
Gap detection: cdrdao 1.2.4
CD-R detected: false



Loading…
取消
儲存