Fix Konqueror plugin tdefile_mp3 to activate on mimetype audio/mpeg.

This resolves issue #33.

Signed-off-by: Vincent Reher <tde@4reher.org>
pull/34/head
Vincent Reher 2 years ago committed by Michele Calgaro
parent f16962feaf
commit 712bd43fb8
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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

@ -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

Loading…
Cancel
Save