A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
chore: lint coding style (pint)
aminnausin25b1825b2953
diff --git a/app/Jobs/IndexFiles.php b/app/Jobs/IndexFiles.phpindex ec400a57..338bcfcc 100755--- a/app/Jobs/IndexFiles.php+++ b/app/Jobs/IndexFiles.php@@ -236,7 +236,7 @@ class IndexFiles extends ManagedSubTask {$data = Storage::json('categories.json') ?? ['next_ID' => 1, 'categoryStructure' => []]; // array("anime"=>1,"tv"=>2,"yogscast"=>3); // read from json$scanned = array_filter(scandir($path),- fn($item) => $item !== '.' &&+ fn ($item) => $item !== '.' &&$item !== '..' &&is_dir($path . DIRECTORY_SEPARATOR . $item)); // read folder structure@@ -530,7 +530,7 @@ class IndexFiles extends ManagedSubTask {->orderBy('updated_at', 'desc')->get(['uuid', 'video_id', 'composite_id', 'logical_composite_id', 'updated_at'])->groupBy('logical_composite_id')- ->map(fn($group) => $group->first())+ ->map(fn ($group) => $group->first())->all();// Creates insert and upsert transactions for videos and metadata@@ -680,5 +680,4 @@ class IndexFiles extends ManagedSubTask {return true;}}-class BatchCancelledException extends \Exception {-}+class BatchCancelledException extends \Exception {}