Add mimetype to most audiobooks formats around. fix #211
This commit is contained in:
parent
d1836260f2
commit
204477462e
4
data.php
4
data.php
|
@ -17,6 +17,7 @@ class Data extends Base {
|
||||||
public $book;
|
public $book;
|
||||||
|
|
||||||
public static $mimetypes = array(
|
public static $mimetypes = array(
|
||||||
|
'aac' => 'audio/aac',
|
||||||
'azw' => 'application/x-mobipocket-ebook',
|
'azw' => 'application/x-mobipocket-ebook',
|
||||||
'azw1' => 'application/x-topaz-ebook',
|
'azw1' => 'application/x-topaz-ebook',
|
||||||
'azw2' => 'application/x-kindle-application',
|
'azw2' => 'application/x-kindle-application',
|
||||||
|
@ -31,7 +32,9 @@ class Data extends Base {
|
||||||
'ibooks'=> 'application/x-ibooks+zip',
|
'ibooks'=> 'application/x-ibooks+zip',
|
||||||
'kepub' => 'application/epub+zip',
|
'kepub' => 'application/epub+zip',
|
||||||
'kobo' => 'application/x-koboreader-ebook',
|
'kobo' => 'application/x-koboreader-ebook',
|
||||||
|
'm4a' => 'audio/mp4',
|
||||||
'mobi' => 'application/x-mobipocket-ebook',
|
'mobi' => 'application/x-mobipocket-ebook',
|
||||||
|
'mp3' => 'audio/mpeg',
|
||||||
'lit' => 'application/x-ms-reader',
|
'lit' => 'application/x-ms-reader',
|
||||||
'lrs' => 'text/x-sony-bbeb+xml',
|
'lrs' => 'text/x-sony-bbeb+xml',
|
||||||
'lrf' => 'application/x-sony-bbeb',
|
'lrf' => 'application/x-sony-bbeb',
|
||||||
|
@ -46,6 +49,7 @@ class Data extends Base {
|
||||||
'svg' => 'image/svg+xml',
|
'svg' => 'image/svg+xml',
|
||||||
'ttf' => 'application/x-font-truetype',
|
'ttf' => 'application/x-font-truetype',
|
||||||
'tpz' => 'application/x-topaz-ebook',
|
'tpz' => 'application/x-topaz-ebook',
|
||||||
|
'wav' => 'audio/wav',
|
||||||
'wmf' => 'image/wmf',
|
'wmf' => 'image/wmf',
|
||||||
'xhtml' => 'application/xhtml+xml',
|
'xhtml' => 'application/xhtml+xml',
|
||||||
'xpgt' => 'application/adobe-page-template+xml',
|
'xpgt' => 'application/adobe-page-template+xml',
|
||||||
|
|
Loading…
Reference in a new issue