16 Mar 2012 17:57
MIME Type incorrectly applied
<vwren <at> ponyhome.com>
2012-03-16 16:57:00 GMT
2012-03-16 16:57:00 GMT
I'm a new ROX user, and I'm setting up my various configurations. I've
run across at least one incorrectly applied mime-type, though. In my
music folders, I have an *.m3u file which holds the playlist for the
directory. When I try to apply an action to it (Audacious, in my case),
ROX wants to change the action for "text/plain" I looked up where *.m3u
might be referenced in /usr/share/mime, and found these entries:
/usr/share/mime/globs:
audio/x-mpegurl:*.m3u
application/vnd.apple.mpegurl:*.m3u
Also, in /usr/share/mime/audio:
x-mpegurl.xml: <alias type="application/m3u"/>
x-mpegurl.xml: <alias type="audio/m3u"/>
x-mpegurl.xml: <alias type="audio/x-m3u"/>
x-mpegurl.xml: <glob pattern="*.m3u"/>
x-mpegurl.xml: <glob pattern="*.m3u8"/>
So clearly the mime type should be "audio/x-mpgurl" based on globbing.
I used the ROX MIME-editor, and when I pull up audio/x-mpegurl, it, too,
shows, right in the first section ("Name matching")
Match "*.m3u"
Match "*.m3u8"
Match "*.vlc"
On the (far-fetched) theory that spaces in the filename were causing
problems, I tried it with no spaces, but it had no effect.
(Continue reading)
RSS Feed