Remove option to set covers path in database, it is hardcoded now to resources/covers/

This commit is contained in:
DariusIII
2020-03-22 22:12:07 +01:00
parent 948658bf1d
commit 1e7244e5bc
40 changed files with 55 additions and 151 deletions
@@ -463,7 +463,7 @@ class ProcessAdditional
);
}
$this->_showCLIReleaseID = (PHP_BINARY.' '.__DIR__.DS.'ProcessAdditional.php ReleaseID: ');
$this->_showCLIReleaseID = (PHP_BINARY.' '.__DIR__.'/ProcessAdditional.php ReleaseID: ');
// Maximum amount of releases to fetch per run.
$this->_queryLimit =
@@ -512,7 +512,7 @@ class ProcessAdditional
$this->_processAudioInfo = $this->_processMediaInfo;
$this->_processPasswords = ! empty(Settings::settingValue('..checkpasswordedrar')) && ! empty(Settings::settingValue('apps..unrarpath'));
$this->_audioSavePath = NN_COVERS.'audiosample'.DS;
$this->_audioSavePath = resource_path().'/covers/'.'audiosample/';
$this->_audioFileRegex = '\.(AAC|AIFF|APE|AC3|ASF|DTS|FLAC|MKA|MKS|MP2|MP3|RA|OGG|OGM|W64|WAV|WMA)';
$this->_ignoreBookRegex = '/\b(epub|lit|mobi|pdf|sipdf|html)\b.*\.rar(?!.{20,})/i';