A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
fix file indexing
aminnausineac849f74a0e
diff --git a/app/Jobs/IndexFiles.php b/app/Jobs/IndexFiles.phpindex 885379c4..845d05a8 100644--- a/app/Jobs/IndexFiles.php+++ b/app/Jobs/IndexFiles.php@@ -345,7 +345,7 @@ class IndexFiles implements ShouldQueue, ShouldBeUniqueforeach ($files as $file){$cost++;$ext = pathinfo($file, PATHINFO_EXTENSION);- if ($ext !== 'mp4' && $ext !== 'mkv' ) continue;+ if (strtolower($ext) !== 'mp4' && strtolower($ext) !== 'mkv' ) continue;$name = basename($file);$cleanName = basename($file,".$ext");