Replace custom path constants with laravel defined paths

This commit is contained in:
DariusIII
2023-03-28 16:56:23 +02:00
parent 4078b58a9f
commit 766a07b1e2
29 changed files with 33 additions and 95 deletions
@@ -372,7 +372,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 = storage_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';