DonutWare / Fladder

Fladder - A Simple Jellyfin frontend built on top of Flutter.
https://donutware.github.io/Fladder/
GNU General Public License v3.0
312 stars 14 forks source link

💡 Epub/PDF book support #155

Open syfq91 opened 1 day ago

syfq91 commented 1 day ago

Description

When reading .epub books, it only shows images in the book but not the text.

Reproduction steps

1. Open any .epub books 
2. See error

Screenshots

Logs

Platform

iOS

App Version

V0.4.4 build 78

bazzadazza72 commented 1 day ago

I'll give this a look at and see if it can be repoduced. Could you attach some screenshots, if possible?

syfq91 commented 1 day ago

Hi, below are the screen recording from Fladder and Jellyfin app.

Jellyfin official app:

https://github.com/user-attachments/assets/503bbadb-a1b5-49f8-8dcd-e402ae85e340

Fladder app:

https://github.com/user-attachments/assets/a81c5b3d-e54d-4f85-b771-2da11aa1dcd2

bazzadazza72 commented 1 day ago

Thanks for the recordings. I just tried with two EPUB books and a comic book ZIP and here's what I found:

I'd like to get @PartyDonut's take on this. Was the book system designed with comics/manga in mind, or is text supposed to be rendered?

PartyDonut commented 21 hours ago

@bazzadazza72 You are correct 🥳

Currently it only supports loading image based formats .cbz,.cbr etc. The way it works Fladder requests the book from Jellyfin and unpacks the archive and any contained images, these are then just loaded into a gallery. Kind of surprised the epub format is also just an archive.

So unfortunately no text support, also no pdf support for that matter.

I've updated the main page to be more clear about this support.

Support for text based formats is possible but it does require a new viewer.

@syfq91 Thanks for reporting this and taking your time to create screen recordings! I will convert this to a feature request. Feel free to update the description or just leave it as is.