Commit 740fe293 authored by Daniel Molkentin's avatar Daniel Molkentin

sorry, you are not due yet

svn path=/trunk/kdemultimedia/juk/; revision=316080
parent 43a589b4
......@@ -27,7 +27,6 @@ namespace MediaFiles {
static const char mp3Type[] = "audio/x-mp3";
static const char oggType[] = "application/ogg";
static const char flacType[] = "audio/x-flac";
static const char plsType[] = "audio/x-scpls";
static const char m3uType[] = "audio/mpegurl";
static const char playlistExtension[] = ".m3u";
......@@ -70,7 +69,7 @@ bool MediaFiles::isMediaFile(const QString &fileName)
bool MediaFiles::isPlaylistFile(const QString &fileName)
{
KMimeType::Ptr result = KMimeType::findByPath(fileName, 0, true);
return result->is(m3uType) || result->is(plsType);
return result->is(m3uType);
}
bool MediaFiles::isMP3(const QString &fileName)
......@@ -95,7 +94,7 @@ QStringList MediaFiles::mimeTypes()
{
QStringList l;
l << mp3Type << oggType << flacType << m3uType << plsType;
l << mp3Type << oggType << flacType << m3uType;
return l;
}
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