Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last page of converted epub's doesn't save on kobo sync. #3124

Open
RossEm0174 opened this issue Aug 11, 2024 · 3 comments
Open

Last page of converted epub's doesn't save on kobo sync. #3124

RossEm0174 opened this issue Aug 11, 2024 · 3 comments

Comments

@RossEm0174
Copy link

RossEm0174 commented Aug 11, 2024

Describe the bug/problem

I just set up Kobo Sync on my Kobo eReader, and I really like it. I have it configured on a bookshelf in my Calibre Web installation. When I tried it out last night, I was really happy with how it worked. However today, when I wanted to continue reading, I tapped on the book, but it took me back to the first page (the title page, page 3).

I tested this with a few other books and found that only ebooks converted from PDF to EPUB (using the Calibre app on my local machine, connected to the database over a Samba share) do not save their last page data. Regular EPUB files, however, do save correctly.

To Reproduce

Steps to reproduce the behavior:

  1. Convert a pdf book to epub via local calibre installation connected to a Samba share.
  2. Sync Kobo so that converted book shows up on ereader
  3. go to a random page, close and reopen.

Logfile

Couldn't find anything relevant. But included it just in case.
Calibre-Web-debug-pack.zip

Expected behavior

Save my last page so I can continue where I left off if I closed the book.

Environment (please complete the following information):

  • OS: UnRaid
  • Python version: [e.g. python2.7]
  • Calibre-Web version: 0.6.23 - d3233b4 - 2024-08-05T18:42:13+02:00
  • Docker container: linuxserver:calibre-web-docker
  • Special Hardware: old (but sufficiënt) hp desktop pc
  • Browser: Chrome Versie 127.0.6533.100

I setup the api-endpoint with a duckdns-link and port forwarding (yes, i know about the security risks)

troubleshooting

What I did to troubleshoot was:

  • Factory reset my Kobo device
  • Delete PDF file in Calibre app
  • Sync my Kobo after it shows correct last page.
@OzzieIsaacs
Copy link
Collaborator

Do you use epubs or kepubs? Because saving the exact position on the reader only works for kepubs. It‘s a limitation on the kobo side, so nothing (beside converting epubs to kepubs via kepubify) can be done in calibre-web

@RossEm0174
Copy link
Author

RossEm0174 commented Aug 12, 2024

Do you use epubs or kepubs?

It gets converted to EPUB, and on my eReader, it shows as "Kobo EPUB." Again, normal EPUBs work just fine; it's just the converted ones that have this issue.

@phampyk
Copy link

phampyk commented Aug 16, 2024

Only kepubs, or what it shows as "kobo EPUB" would keep your reading position. There's calibre plugins that would convert to kepub automatically, and calibre web would send that one over epub or PDF.

In fact I see you are using the linuxserver container of calibre web, it comes with kepubify integrated, so it automatically converts to kepub your library

This image contains the kepubify ebook conversion tool (MIT License) to convert epub to kepub. In the Calibre-Web admin page (Basic Configuration:External Binaries) set the Path to Kepubify E-Book Converter to /usr/bin/kepubify

Somewhere in between seems like the already epubs get converted to kepub, but the ones you convert from PDF to epub are not. Just giving you a hint as to where to start troubleshooting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants