Commit ab92bc51 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Fix list of known audio-only extensions

parent e6b61347
......@@ -111,7 +111,7 @@ NSString *kMLFileTypeAudio = @"audio";
- (BOOL)isSupportedAudioFile
{
NSUInteger options = NSRegularExpressionSearch | NSCaseInsensitiveSearch;
return ([[self.url lastPathComponent] rangeOfString:@"\\.(aac|aiff|aif|amr|aob|ape|axa|flac|it|m2a|m4a|mka|mlp|mod|mp1|mp2|mp3|mpa|mpc|oga|oma|opus|rmi|s3m|spx|tta|voc|vqf|wav|wma|wv|xa|xm)$" options:options].location != NSNotFound);
return ([[self.url lastPathComponent] rangeOfString:@"\\.(aac|aiff|aif|amr|aob|ape|axa|caf|flac|it|m2a|m4a|m4b|mka|mlp|mod|mp1|mp2|mp3|mpa|mpc|oga|oma|opus|rmi|s3m|spx|tta|voc|vqf|w64|wav|wma|wv|xa|xm)$" options:options].location != NSNotFound);
}
- (NSString *)artworkURL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment