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

Feature: Sync custom column read state with kobo #2997

Open
wants to merge 1 commit into
base: Develop
Choose a base branch
from

Conversation

NotSimone
Copy link

@NotSimone NotSimone commented Feb 5, 2024

Currently, the read state when books are synced with Kobo is not correctly synced when the "Link Read/Unread Status to Calibre Column" option is used.

This change makes it so that changing read state on either Calibre or the Kobo e-reader should sync the read state correctly. Note that the Kobo reading state has a third state - reading - that cannot be represented in the Calibre column and so gets ignored.

This also adds an additional configuration option "User for Calibre Read Column" so that only the specified user's syncing will update or be updated by the column in Calibre. By default, it is configured to be the Admin user (id 1).

image

resolves #2740

@NotSimone NotSimone force-pushed the feature/kobo_custom_column_sync branch from 1d1bb61 to 8e94e64 Compare February 5, 2024 12:26
@NotSimone
Copy link
Author

NotSimone commented Feb 5, 2024

I should mention a caveat - it seems that modifying the custom column in calibre does not change the last_modified timestamp (or anything else vaguely resembling a timestamp as far as I could tell), which means you cannot reliably sync a change in read state from Calibre to Kobo.

Fortunately, the other direction is fairly reliable and that's the direction most of us care about anyway ;)

@quizzmaster
Copy link

I merged this PR for myself and it works like a charm :)

@NotSimone NotSimone force-pushed the feature/kobo_custom_column_sync branch from 72c4e84 to fab6a72 Compare September 2, 2024 10:11
@NotSimone
Copy link
Author

I've just rebased this onto the tip of develop

@NotSimone NotSimone force-pushed the feature/kobo_custom_column_sync branch from fab6a72 to 391a6b0 Compare September 2, 2024 10:12
@sgtio
Copy link

sgtio commented Nov 17, 2024

This would be a great thing to have! I was going crazy wondering why Calibre web was not setting the read column in my Calibre library after I finished a book in my Kobo. But if I got it right, the custom column is only written to if you read a book through Calibre web? Or is it only read by Calibre web, but never written to?

Anyway, any hope that this PR can be merged?

@NotSimone
Copy link
Author

The custom column is already being updated properly when the read state is updated through the web UI. This change only affects the column state when it is synced against a Kobo e-reader.

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

Successfully merging this pull request may close these issues.

Sync Read State between Kobo, Calibre-Web and Calibre Custom Column
3 participants