You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in jellyfin/jellyfin-plugin-opds#38 , I noticed that the current MIME type implementation does not account for different comic book formats. It will always return application/x-cbr.
Sadly cbr (a.k.a. Rar) is a proprietary compression algorithm, so most FOSS eReaders won't be able to download or display such files.
I couldn't pinpoint the exact place where this goes wrong, but I noticed that this case is not covered by the tests in MimeTypeTests.cs. However, I also couldn't find a place where x-cbr is explicitly set, so I'm still not sure where this bug is coming from.
Reproduction Steps
Is reproducible by adding cbr and cbz to the MimeTypesTests class like this:
Please describe your bug
As described in jellyfin/jellyfin-plugin-opds#38 , I noticed that the current MIME type implementation does not account for different comic book formats. It will always return
application/x-cbr
.Sadly
cbr
(a.k.a. Rar) is a proprietary compression algorithm, so most FOSS eReaders won't be able to download or display such files.I couldn't pinpoint the exact place where this goes wrong, but I noticed that this case is not covered by the tests in
MimeTypeTests.cs
. However, I also couldn't find a place wherex-cbr
is explicitly set, so I'm still not sure where this bug is coming from.Reproduction Steps
Is reproducible by adding
cbr
andcbz
to theMimeTypesTests
class like this:Jellyfin Version
10.8.13
if other:
No response
Environment
Jellyfin logs
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: