Commit 40f74829 authored by Frerich Raabe's avatar Frerich Raabe

- findByURL() never returns 0L so let's see whether it returned the

  catch-all type "application/octet-stream".

svn path=/trunk/kdemultimedia/juk/; revision=214752
parent 85b8209c
......@@ -41,7 +41,7 @@ Tag *Tag::createTag(const QString &file, bool ignoreCache)
return cachedItem;
KMimeType::Ptr result = KMimeType::findByURL(file, 0, true /* local file */);
if(!result)
if(result->name() == "application/octet-stream")
return 0;
if(result->name() == "audio/x-mp3")
......
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