Quote:
Originally Posted by EastEriq
...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) .. "")