Compare commits

...
3 Commits
2 changed files with 8 additions and 6 deletions

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "orpheusnet/logchecker",
"description": "Logchecker for validating logs generated from supported ripping programs (like EAC and XLD)",
"version": "0.8.3",
"version": "0.8.4",
"license": "Unlicense",
"type": "library",
"authors": [
+7 -5
View File
@@ -512,7 +512,7 @@ class Logchecker {
'accurate_stream_eac_pre99'
), $Log, 1, $EAC_ac_stream_pre99);
if (!$EAC_ac_stream && !$EAC_ac_stream_pre99 && !$this->NonSecureMode && $EAC) {
$this->account('Could not verify accurate stream');
$this->account('Could not verify accurate stream', 20);
}
$Log = preg_replace_callback('/Defeat audio cache( +): (Yes|No)/i', array(
$this,
@@ -1154,18 +1154,20 @@ class Logchecker {
function accurate_stream($Matches)
{
if ($Matches[2] == 'Yes') {
$Class = 'goodish';
$Class = 'good';
} else {
$Class = 'badish';
$Class = 'bad';
$this->account('"Utilize accurate stream" should be yes', 20);
}
return '<span class="log5">Utilize accurate stream' . $Matches[1] . '</span>: <span class="' . $Class . '">' . $Matches[2] . '</span>';
}
function accurate_stream_eac_pre99($Matches)
{
if (strtolower($Matches[1]) != 'no ') {
$Class = 'goodish';
$Class = 'good';
} else {
$Class = 'badish';
$Class = 'bad';
$this->account('"accurate stream" should be yes', 20);
}
return ', <span class="' . $Class . '">' . $Matches[1] . 'accurate stream</span>';
}