Add a few more mimetypes for OPDS (#7258)
Doesn't include application/zip as CBZ, but it will be downloaded (as ZIP). Doesn't include CBR since that's not supported. Closes #7218, closes #5997.
This commit is contained in:
1 parent
82f0e68118
commit
ac668ecb64
3 files changed
+5
No files matched your search
@@ -291,6 +291,7 @@ function PdfDocument:register(registry)
|
||||
--- Document types ---
|
||||
registry:addProvider("cbt", "application/vnd.comicbook+tar", self, 100)
|
||||
registry:addProvider("cbz", "application/vnd.comicbook+zip", self, 100)
|
||||
registry:addProvider("cbz", "application/x-cbz", self, 100) -- Alternative mimetype for OPDS.
|
||||
registry:addProvider("epub", "application/epub+zip", self, 50)
|
||||
registry:addProvider("epub3", "application/epub+zip", self, 50)
|
||||
registry:addProvider("fb2", "application/fb2", self, 80)
|
||||
|
||||
Reference in new issue
Block a user