mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 03:08:53 +00:00
Create categorization service
This commit is contained in:
@@ -8,9 +8,9 @@ use App\Models\MusicInfo;
|
||||
use App\Models\Release;
|
||||
use App\Models\Settings;
|
||||
use App\Models\UsenetGroup;
|
||||
use App\Services\Categorization\CategorizationService;
|
||||
use App\Services\CollectionCleanupService;
|
||||
use App\Services\ReleaseCreationService;
|
||||
use Blacklight\Categorize;
|
||||
use Blacklight\ColorCLI;
|
||||
use Blacklight\Genres;
|
||||
use Blacklight\NNTP;
|
||||
@@ -190,7 +190,7 @@ class ProcessReleases
|
||||
*/
|
||||
public function categorizeRelease(string $type, $groupId): int
|
||||
{
|
||||
$cat = new Categorize;
|
||||
$cat = new CategorizationService();
|
||||
$categorized = $total = 0;
|
||||
$releasesQuery = Release::query()->where(['categories_id' => Category::OTHER_MISC, 'iscategorized' => 0]);
|
||||
if (! empty($groupId)) {
|
||||
|
||||
Reference in New Issue
Block a user