summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdefile-plugins/mp3/tdefile_mp3.cpp4
-rw-r--r--tdefile-plugins/mp3/tdefile_mp3.desktop2
2 files changed, 3 insertions, 3 deletions
diff --git a/tdefile-plugins/mp3/tdefile_mp3.cpp b/tdefile-plugins/mp3/tdefile_mp3.cpp
index 041e0313..4e7d4bf6 100644
--- a/tdefile-plugins/mp3/tdefile_mp3.cpp
+++ b/tdefile-plugins/mp3/tdefile_mp3.cpp
@@ -47,9 +47,9 @@ K_EXPORT_COMPONENT_FACTORY(tdefile_mp3, Mp3Factory( "tdefile_mp3" ))
KMp3Plugin::KMp3Plugin(TQObject *parent, const char *name, const TQStringList &args)
: KFilePlugin(parent, name, args)
{
- kdDebug(7034) << "mp3 plugin\n";
+ kdDebug(7034) << "mp3 plugin for mimetype " << name << endl;
- KFileMimeTypeInfo *info = addMimeTypeInfo("audio/x-mp3");
+ KFileMimeTypeInfo *info = addMimeTypeInfo(name);
// id3 group
diff --git a/tdefile-plugins/mp3/tdefile_mp3.desktop b/tdefile-plugins/mp3/tdefile_mp3.desktop
index 617ecc02..9eaeb81d 100644
--- a/tdefile-plugins/mp3/tdefile_mp3.desktop
+++ b/tdefile-plugins/mp3/tdefile_mp3.desktop
@@ -3,6 +3,6 @@ Type=Service
Name=MP3 Info
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_mp3
-MimeType=audio/x-mp3
+MimeType=audio/mpeg;audio/x-mp3
PreferredGroups=id3,Technical
PreferredItems=Title,Artist,Album,Tracknumber,Genre,Bitrate,Length,Date,Comment,Sample Rate,Channels,Version,Layer,Copyright,Original,CRC