aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/audio-inline
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/audio-inline')
-rw-r--r--plugins/audio-inline/ChangeLog8
-rw-r--r--plugins/audio-inline/audio-inline.c2
-rw-r--r--plugins/audio-inline/org-gnome-audio-inline.eplug.in1
3 files changed, 9 insertions, 2 deletions
diff --git a/plugins/audio-inline/ChangeLog b/plugins/audio-inline/ChangeLog
index f7eb2cd666..96f18c95da 100644
--- a/plugins/audio-inline/ChangeLog
+++ b/plugins/audio-inline/ChangeLog
@@ -1,4 +1,10 @@
2004-10-25 Radek Doulik <rodo@ximian.com>
- * audio-inline.c: imported audio inline plugin
+ * org-gnome-audio-inline.eplug.in: handle audio/x-mp3 mime type
+ * audio-inline.c: (org_gnome_audio_inline_play_clicked): handle
+ audio/x-mp3 mime type
+
+2004-10-25 Radek Doulik <rodo@ximian.com>
+
+ * audio-inline.c: imported audio inline plugin \ No newline at end of file
diff --git a/plugins/audio-inline/audio-inline.c b/plugins/audio-inline/audio-inline.c
index f2264b230b..e4deae2062 100644
--- a/plugins/audio-inline/audio-inline.c
+++ b/plugins/audio-inline/audio-inline.c
@@ -206,7 +206,7 @@ org_gnome_audio_inline_play_clicked (GtkWidget *button, EMFormatHTMLPObject *pob
type = camel_mime_part_get_content_type (po->part);
if (type) {
if (!strcasecmp (type->type, "audio")) {
- if (!strcasecmp (type->subtype, "mpeg")) {
+ if (!strcasecmp (type->subtype, "mpeg") || !strcasecmp (type->subtype, "x-mp3")) {
po->thread = org_gnome_audio_inline_gst_mpeg_thread (filesrc);
} else if (!strcasecmp (type->subtype, "x-flac")) {
po->thread = org_gnome_audio_inline_gst_flac_thread (filesrc);
diff --git a/plugins/audio-inline/org-gnome-audio-inline.eplug.in b/plugins/audio-inline/org-gnome-audio-inline.eplug.in
index d61bf70538..28ec6d0f77 100644
--- a/plugins/audio-inline/org-gnome-audio-inline.eplug.in
+++ b/plugins/audio-inline/org-gnome-audio-inline.eplug.in
@@ -10,6 +10,7 @@
<hook class="org.gnome.evolution.mail.format:1.0">
<group id="EMFormatHTMLDisplay">
<item mime_type="audio/mpeg" format="org_gnome_audio_inline_format" flags="inline_disposition"/>
+ <item mime_type="audio/x-mp3" format="org_gnome_audio_inline_format" flags="inline_disposition"/>
<item mime_type="audio/x-flac" format="org_gnome_audio_inline_format" flags="inline_disposition"/>
<item mime_type="application/ogg" format="org_gnome_audio_inline_format" flags="inline_disposition"/>
</group>