Skip to content

A self-hosted media server and file management system

fix: typo caused mp4 and m4a files to get untracked

aminnausin9b63add065ca
diff --git a/app/Jobs/IndexFiles.php b/app/Jobs/IndexFiles.php
index 8d9dd89b..4637094f 100755
--- a/app/Jobs/IndexFiles.php
+++ b/app/Jobs/IndexFiles.php
@@ -441,7 +441,7 @@ class IndexFiles extends ManagedSubTask {
// TODO: This line defines what file types are supported. Move this somewhere else that is easy to configure
$ext = pathinfo($file, PATHINFO_EXTENSION);
$normalisedExt = strtolower($ext);
- if (! in_array($normalisedExt, ['mp4' . 'm4a', 'mkv', 'mp3', 'ogg', 'flac', 'webm'])) { // the conversion breaks ogg idk about flac
+ if (! in_array($normalisedExt, ['mp4', 'm4a', 'mkv', 'mp3', 'ogg', 'flac', 'webm'])) { // the conversion breaks ogg idk about flac
continue;
}