Always accept non-file URLs into the playlist.
parent
5d42fbe4ce
commit
bbd2c6c7f6
|
@ -252,7 +252,7 @@
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
//Need a better way to determine acceptable file types than basing it on extensions.
|
//Need a better way to determine acceptable file types than basing it on extensions.
|
||||||
if (![[AudioPlayer fileTypes] containsObject:[[[url path] pathExtension] lowercaseString]])
|
if ([url isFileURL] && ![[AudioPlayer fileTypes] containsObject:[[[url path] pathExtension] lowercaseString]])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
[validURLs addObject:url];
|
[validURLs addObject:url];
|
||||||
|
|
Loading…
Reference in New Issue