diff options
author | Vincent Reher <[email protected]> | 2022-02-19 09:32:22 -0800 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-02-20 12:36:16 +0900 |
commit | 712bd43fb823d75702d1777ef27ea2257866e141 (patch) | |
tree | c45195bbe8888484f38a312a631fc265f98d98c0 | |
parent | f16962feaf5ae561500be35cea5bc1ed46270677 (diff) | |
download | tdemultimedia-712bd43fb823d75702d1777ef27ea2257866e141.tar.gz tdemultimedia-712bd43fb823d75702d1777ef27ea2257866e141.zip |
Fix Konqueror plugin tdefile_mp3 to activate on mimetype audio/mpeg.
This resolves issue #33.
Signed-off-by: Vincent Reher <[email protected]>
-rw-r--r-- | tdefile-plugins/mp3/tdefile_mp3.cpp | 4 | ||||
-rw-r--r-- | tdefile-plugins/mp3/tdefile_mp3.desktop | 2 |
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 |