Closed mcoms closed 2 years ago
I've added what I think is the fix, but I don't have any iOS devices to test with. I've attached the build artifacts to the PR if you are able to test for me
Thanks @crobibero, that's perfect.
Tested using Jellyfin 10.8.0-alpha5
:
docker run --rm -p 8096:8096 -v $(pwd)/media:/media -v $(pwd)/config:/config -v $(pwd)/cache:/cache jellyfin/jellyfin:10.8.0-alpha5
Installing OPDS 4.0.0.0
from the repository gives me the same error as before:
Installing 5.0.0.0
from your build artefact works and I can download books as expected:
Tested a few books (.epub
, .mobi
, .pdf
), and general browsing of the catalogue, all working fine, so this has fixed it :+1: Thanks!
The popular iOS OPDS client KyBook 3 refuses to download books from Jellyfin, but will download fine from Calibre's OPDS content server.
iOS returns a MIME type error:![IMG_61357689D673-1](https://user-images.githubusercontent.com/517837/158034754-8a85058b-b97a-495b-83ea-982cf819a22d.jpeg)
curl
reports both servers sending the correct MIME type, however Calibre sends the file as an "attachment" (with aContent-Disposition
header), whereas Jellyfin streams it inline. As fas as I could see the OPDS spec doesn't have an opinion, but sending the files as an "attachment" may prove compatible with more clients.Jellyfin Docker image
latest
(10.7.7
). Plugin version1.0.0.0
.I have raised an issue on the client side: https://github.com/kolyvan/kybook/issues/438