mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 19:17:45 +02:00
fix: add application/octet-stream mimetype to mp3 and m4a extensions to prevent ext_in error
fixes #145
This commit is contained in:
parent
ece476b388
commit
339bef878e
1 changed files with 2 additions and 2 deletions
|
|
@ -131,7 +131,7 @@ class Mimes
|
||||||
'rar' => ['application/vnd.rar', 'application/x-rar', 'application/rar', 'application/x-rar-compressed'],
|
'rar' => ['application/vnd.rar', 'application/x-rar', 'application/rar', 'application/x-rar-compressed'],
|
||||||
'mid' => 'audio/midi',
|
'mid' => 'audio/midi',
|
||||||
'midi' => 'audio/midi',
|
'midi' => 'audio/midi',
|
||||||
'mp3' => ['audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'],
|
'mp3' => ['audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3', 'application/octet-stream'],
|
||||||
'mpga' => 'audio/mpeg',
|
'mpga' => 'audio/mpeg',
|
||||||
'mp2' => 'audio/mpeg',
|
'mp2' => 'audio/mpeg',
|
||||||
'aif' => ['audio/x-aiff', 'audio/aiff'],
|
'aif' => ['audio/x-aiff', 'audio/aiff'],
|
||||||
|
|
@ -236,7 +236,7 @@ class Mimes
|
||||||
'3g2' => 'video/3gpp2',
|
'3g2' => 'video/3gpp2',
|
||||||
'3gp' => ['video/3gp', 'video/3gpp'],
|
'3gp' => ['video/3gp', 'video/3gpp'],
|
||||||
'mp4' => 'video/mp4',
|
'mp4' => 'video/mp4',
|
||||||
'm4a' => 'audio/x-m4a',
|
'm4a' => ['audio/m4a', 'audio/x-m4a', 'application/octet-stream'],
|
||||||
'f4v' => ['video/mp4', 'video/x-f4v'],
|
'f4v' => ['video/mp4', 'video/x-f4v'],
|
||||||
'flv' => 'video/x-flv',
|
'flv' => 'video/x-flv',
|
||||||
'webm' => 'video/webm',
|
'webm' => 'video/webm',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue