Merge branch 'master' into 1.1

This commit is contained in:
An Phan 2015-12-22 09:39:14 +08:00
commit 15e1acbeae

View file

@ -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);