View Single Post
Old 03-17-2024, 02:34 AM   #66
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,894
Karma: 12981955
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Quote:
Originally Posted by EastEriq View Post
...and found by accident that book_id appear to be the same (1447LL) for one book which updates correctly and one which not.
I'm not sure what 1447LL refers to, as the book_id in the explorer-3.db file are all purely numerical and should definitely be unique. (Likely being modified by the "tostring" function. Try "tonumber" instead. See below)

I've tested the book you linked to on my device and it is updating correctly.

Maybe a problem with your database? Try editing the book's metadata in Calibre. Choose the "Download metadata" option and select a template and new cover, then upload the new file to your device. It should show as a new book with a new and unique book_id... then test if its progress is updated by the plugin.

FYI: Also try this logger command instead:
Code:
logger.info("Syncing to page " .. tonumber(data.page) .. " of book_id " .. tonumber(book_id) .. " with filename: " .. tostring(data.file) .. "")

Last edited by neil_swann80; 03-17-2024 at 04:33 AM.
neil_swann80 is offline   Reply With Quote