Add:Support for OGA file extension #804, Update:Mime type for m4b and m4a to audio/mp4

This commit is contained in:
advplyr 2022-07-14 18:32:00 -05:00
parent ccc291067d
commit 653019921e
3 changed files with 5 additions and 4 deletions

View file

@ -35,10 +35,11 @@ module.exports.PlayMethod = {
module.exports.AudioMimeType = {
MP3: 'audio/mpeg',
M4B: 'audio/mpeg',
M4A: 'audio/mpeg',
M4B: 'audio/mp4',
M4A: 'audio/mp4',
MP4: 'audio/mp4',
OGG: 'audio/ogg',
OGA: 'audio/ogg',
OPUS: 'audio/ogg',
AAC: 'audio/aac',
FLAC: 'audio/flac',