mirror of
https://github.com/koel/koel
synced 2024-11-24 05:03:05 +00:00
Merge branch '1.1' of github.com:phanan/koel into 1.1
This commit is contained in:
commit
2aa3efa19e
1 changed files with 1 additions and 1 deletions
|
@ -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|m4a)$/')->in($path);
|
||||
$files = Finder::create()->files()->name('/\.(mp3|ogg|m4a)$/i')->in($path);
|
||||
|
||||
foreach ($files as $file) {
|
||||
$song = $this->syncFile($file);
|
||||
|
|
Loading…
Reference in a new issue