mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
T357: Made the importer's file type check case-insensitive.
This commit is contained in:
parent
a0fb15a86a
commit
9b10161ca4
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue