Fixed extension check.
This commit is contained in:
parent
7582bbef02
commit
da9e4e28fd
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ NSURL *resolveAliases(NSURL *url)
|
||||||
|
|
||||||
[[NSFileManager defaultManager] fileExistsAtPath:[u path] isDirectory:&isDir];
|
[[NSFileManager defaultManager] fileExistsAtPath:[u path] isDirectory:&isDir];
|
||||||
|
|
||||||
if (!isDir && ![[AudioPlayer fileTypes] containsObject:[[u path] pathExtension]])
|
if (!isDir && ![[AudioPlayer fileTypes] containsObject:[[[u path] pathExtension] lowercaseString]])
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue