mime_type update

What features would you like to see in future versions of getID3() ?
Post Reply
WaldoMonster
getID3() contributor
Posts:112
Joined:Mon Apr 01, 2002 12:20 am
Location:Netherlands
Contact:
mime_type update

Post by WaldoMonster » Tue Sep 11, 2018 9:18 am

Hoi,

I think that mime-type audio/x-flac should be changed in audio/flac.
HTML 5 audio uses audio/flac mime-type like: canPlayType('audio/flac')
Except from Safari all modern web browsers both support the audio/x-flac and audio/flac mime-type.
Because of the later implementation of flac in Safari it only support audio/flac.

Almost the same story counts for changing mime-type audio/x-wav to audio/wav.

Thanks,

Willem

Update reference:
https://developer.mozilla.org/en-US/doc ... rmats#FLAC

James Heinrich
getID3() v1 developer
Posts:1477
Joined:Fri May 04, 2001 4:00 pm
Are you a spambot?:no
Location:Northern Ontario, Canada
Contact:

Re: mime_type update

Post by James Heinrich » Tue Sep 11, 2018 11:01 am

Thanks. I have changed it in https://github.com/JamesHeinrich/getID3 ... fd61baf12d
(also including application/gzip)

WaldoMonster
getID3() contributor
Posts:112
Joined:Mon Apr 01, 2002 12:20 am
Location:Netherlands
Contact:

Re: mime_type update

Post by WaldoMonster » Tue Sep 11, 2018 11:08 am

Hello James,

Thanks for the fast update!

Willem

Post Reply