Move Utility and Country into services

This commit is contained in:
DariusIII
2025-12-20 16:46:04 +01:00
parent d441fad32f
commit 717a5d89f6
20 changed files with 353 additions and 365 deletions
@@ -3,7 +3,6 @@
namespace App\Services\AdditionalProcessing;
use Blacklight\NZB;
use Blacklight\utility\Utility;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Log;
@@ -32,7 +31,7 @@ class NzbContentParser
return ['contents' => [], 'error' => 'NZB not found for GUID: '.$guid];
}
$nzbContents = Utility::unzipGzipFile($nzbPath);
$nzbContents = unzipGzipFile($nzbPath);
if (! $nzbContents) {
// Try repair on raw file contents
$nzbContents = $this->attemptRawRepair($nzbPath);