From d64043e44b58b19bb689dc214486dbcc846dd693 Mon Sep 17 00:00:00 2001 From: An Phan Date: Tue, 22 Dec 2015 09:38:59 +0800 Subject: [PATCH] Added support for AAC (m4a) --- app/Services/Media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Media.php b/app/Services/Media.php index e50b79d3..662de268 100644 --- a/app/Services/Media.php +++ b/app/Services/Media.php @@ -46,7 +46,7 @@ class Media // For now we only care about mp3 and ogg files. // Support for other formats (AAC?) may be added in the future. - $files = Finder::create()->files()->name('/\.(mp3|ogg)$/')->in($path); + $files = Finder::create()->files()->name('/\.(mp3|ogg|m4a)$/')->in($path); foreach ($files as $file) { $song = $this->syncFile($file);