diff --git a/app/commands/ImportMLPMA.php b/app/commands/ImportMLPMA.php index c540ce46..fd3cb6d1 100644 --- a/app/commands/ImportMLPMA.php +++ b/app/commands/ImportMLPMA.php @@ -149,10 +149,10 @@ class ImportMLPMA extends Command { // normalized tags used by Pony.fm $parsedTags = []; - if ($file->getExtension() === 'mp3') { + if (Str::lower($file->getExtension()) === 'mp3') { list($parsedTags, $rawTags) = $this->getId3Tags($allTags); - } else if ($file->getExtension() === 'm4a') { + } else if (Str::lower($file->getExtension()) === 'm4a') { list($parsedTags, $rawTags) = $this->getAtomTags($allTags); }