Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Complete MIME Types list? (Read 4228 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Complete MIME Types list?

Is there a complete MIME types list available somewhere? Some of the audio files that foobar2000 support don't seem to have any known MIME types out on the internet. Here is what I have so far:

Code: [Select]
extensions = {
  '.669' : 'audio/mid',
  '.8svx' : 'audio/basic', # I don't know
  '.aac' : 'audio/basic', # I don't know
  '.afc' : 'audio/x-aiff',
  '.aif' : 'audio/x-aiff',
  '.aifc' : 'audio/x-aiff',
  '.aiff' : 'audio/x-aiff',
  '.au' : 'audio/basic',
  '.dsm' : 'audio/mid',
  '.far' : 'audio/mid',
  '.fla' : 'audio/flac',
  '.flac' : 'audio/flac',
  '.gmf' : 'audio/mid',
  '.hmi' : 'audio/mid',
  '.hmp' : 'audio/mid',
  '.it' : 'audio/mid',
  '.m4a' : 'audio/mp4a-latm',
  '.m4b' : 'audio/mp4a-latm',
  '.mid' : 'audio/mid',
  '.midi' : 'audio/mid',
  '.mids' : 'audio/mid',
  '.mka' : 'audio/basic', # I don't know
  '.mod' : 'audio/mid',
  '.mp+' : 'audio/basic', # I don't know
  '.mp1' : 'audio/mpeg',
  '.mp2' : 'audio/mpeg',
  '.mp3' : 'audio/mpeg',
  '.mpc' : 'audio/basic', # I don't know
  '.mpp' : 'audio/basic', # I don't know
  '.mtm' : 'audio/mid',
  '.mus' : 'audio/mid',
  '.oga' : 'audio/x-ogg',
  '.ogg' : 'audio/x-ogg',
  '.rmi' : 'audio/mid',
  '.s3m' : 'audio/mid',
  '.snd' : 'audio/basic',
  '.spx' : 'audio/basic', # I don't know
  '.stm' : 'audio/mid',
  '.svx' : 'audio/basic', # I don't know
  '.ult' : 'audio/mid',
  '.w64' : 'audio/x-wav',
  '.wav' : 'audio/x-wav',
  '.wave' : 'audio/x-wav',
  '.wma' : 'audio/x-ms-wma',
  '.wv' : 'audio/basic', # I don't know
  '.xm' : 'audio/mid',
  '.xmi' : 'audio/mid',
  }

I've marked the ones I'm not sure about with "I don't know", and these file extensions appear to be missing from the foo_midi plugin but are playable in Winamp (which I will ask the author about):
669
dsm
far
it
mod
mtm
s3m
stm
ult
xm

Complete MIME Types list?

Reply #1
Those are module files, which would have a MIME type of audio/x-mod or similar, and would be playable with foo_dumb installed.

Complete MIME Types list?

Reply #2
Thanks!! Your components are really thorough. That leaves me with these left to figure out:
Not covered by foobar2000:
.far
.ult

Covered by foobar2000 but with mystery MIME types:
.8svx
.aac
.mka
.mp+
.mpc
.mpp
.spx
.svx
.wv

Complete MIME Types list?

Reply #3
.aac: audio/aac
.mka: audio/x-matroska
.mpc/.mp+/.mpp: audio/musepack
.spx: audio/ogg
.wv: not specified

Complete MIME Types list?

Reply #4
Almost there, thanks! Now down to these:
Not covered by foobar2000, is there a component that plays these?
.far (Farandole Composer Module)
.ult (UltraTracker Module)

Covered by foobar2000 but with mystery MIME types:
.8svx - audio/x-8svx I believe
.svx - audio/x-8svx I believe
.wv - audio/wavpack I believe

I plan on putting all this information on the foobar2000 wiki when this is done.

Complete MIME Types list?

Reply #5
Hmm, for that matter, how do I become a validated_user? I activated my email... at any rate, if I can't get permissions to add to the wiki, it would be great if someone else could post my list on the wiki. Here's what I believe to be the correct final list:

Code: [Select]
'.669' : 'audio/x-mod',
  '.8svx' : 'audio/x-8svx',
  '.aac' : 'audio/aac',
  '.afc' : 'audio/x-aiff',
  '.aif' : 'audio/x-aiff',
  '.aifc' : 'audio/x-aiff',
  '.aiff' : 'audio/x-aiff',
  '.am' : 'audio/x-mod',
  '.au' : 'audio/basic',
  '.dsm' : 'audio/x-mod',
  '.far' : 'audio/x-mod', # Not supported by foobar2000 yet?
  '.fla' : 'audio/flac',
  '.flac' : 'audio/flac',
  '.gmf' : 'audio/mid',
  '.hmi' : 'audio/mid',
  '.hmp' : 'audio/mid',
  '.it' : 'audio/x-mod',
  '.itz' : 'audio/x-mod',
  '.j2b' : 'audio/x-mod',
  '.m4a' : 'audio/mp4a-latm',
  '.m4b' : 'audio/mp4a-latm',
  '.mdz' : 'audio/x-mod',
  '.mid' : 'audio/mid',
  '.midi' : 'audio/mid',
  '.mids' : 'audio/mid',
  '.mka' : 'audio/x-matroska',
  '.mo3' : 'audio/x-mod',
  '.mod' : 'audio/x-mod',
  '.mp+' : 'audio/musepack',
  '.mp1' : 'audio/mpeg',
  '.mp2' : 'audio/mpeg',
  '.mp3' : 'audio/mpeg',
  '.mpc' : 'audio/musepack',
  '.mpp' : 'audio/musepack',
  '.mtm' : 'audio/x-mod',
  '.mtz' : 'audio/x-mod',
  '.mus' : 'audio/mid',
  '.oga' : 'audio/ogg',
  '.ogg' : 'audio/ogg',
  '.psm' : 'audio/x-mod',
  '.ptm' : 'audio/x-mod',
  '.ptz' : 'audio/x-mod',
  '.rmi' : 'audio/mid',
  '.s3m' : 'audio/x-mod',
  '.s3z' : 'audio/x-mod',
  '.snd' : 'audio/basic',
  '.spx' : 'audio/ogg',
  '.stm' : 'audio/x-mod',
  '.stz' : 'audio/x-mod',
  '.svx' : 'audio/x-8svx',
  '.ult' : 'audio/x-mod', # Not supported by foobar2000 yet?
  '.umx' : 'audio/x-mod',
  '.w64' : 'audio/x-wav',
  '.wav' : 'audio/x-wav',
  '.wave' : 'audio/x-wav',
  '.wma' : 'audio/x-ms-wma',
  '.wv' : 'audio/wavpack',
  '.xm' : 'audio/x-mod',
  '.xmi' : 'audio/mid',
  '.xmz' : 'audio/x-mod',

Complete MIME Types list?

Reply #6
Apparently I wasn't clear enough. There is no mime type for WavPack files (.wv) and thus foobar doesn't support any. It simply opens .wv files based on extension. I don't know if .8svx and .svx have official mime type but foobar doesn't support any for them either. If you tell what component plays the last two extensions I can check what it wants to read. Closest to official is what kode54 uses in foo_dumb (audio/x-mod).


Complete MIME Types list?

Reply #8
Well, I managed to find those two mime types based on googling VLC and those types. As for the two unsupported types, I did indeed settle for audio/x-mod since they seem to be modules and might be supported by foo_dumb in the future. I don't actually have most of the file types in the list, but I wanted to make edna ultra-supportive of every conceivable audio file.