Romain, the problem with MIME types is that it's a total mess. We've
seen the same sh*t happen with Javascript. Now, as the flamew^W cordial
discussions on the Vorbis mailing list show, the battle for the Ogg /
Ogg Vorbis / Ogg Speex / Ogg FLAC / FLAC / etc mimetypes is definitely
not over. So, yes, we'll have to use some hacks to get it to work.
This definitely sucks, but not as much as the MIME type registration
process, and the apparent couldn't-care-less attitude of the developpers
towards registering "official" MIME types for their formats.
Cordialement,
Vincent Tabard
Radio Pytagor : http://www.radiopytagor.com/
Romain Beauxis a écrit :
Hi all !
While testing harbor with an old darkice, I noticed it sends the MIME
type "application/x-ogg" while we used to match only "application/ogg".
I've added it to our list, but this happened before, so I looked at a reliable
list of possible types... which does not exist..
Official list is there:
http://www.iana.org/assignments/media-types/
but is missing LOT of types...
So, we could, before the release, seek for missing types..
Currently, we match mime types for decoders and paylists, so we can start
looking at missing ones for following formats with currently matched types:
Vorbis:
application/ogg
application/x-ogg
MP3:
audio/mpeg
Playlistes basiques:
audio/x-scpls (format File: )
audio/x-mpegurl (format one uri per line)
Playlistes xml:
video/x-ms-asf: MS ASF format
application/rss+xml: RSS (assumed Podcast)
application/smil: SMIL format
application/xspf+xml: XSPF format
text/xml: match for any of the above
application/xml: match for any of the above
( XML parsing detects format, so we may implement more.. )
Please raise your voice if some are missing in action !
Romain