Always accept non-file URLs into the playlist.

CQTexperiment
vspader 2009-03-04 22:56:52 -08:00
parent 5d42fbe4ce
commit bbd2c6c7f6
1 changed files with 1 additions and 1 deletions

View File

@ -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];