View Single Post
Old 01-02-2026, 01:11 PM   #48
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 664
Karma: 720026
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by kovidgoyal View Post
IIRC the rescan does work if the file has been modified (it checks the file size and if it is different does the recount).
No, just check in to be sure (and what I say it's seem intended to me):
Calibre first check if the Page Object in the db has the same format_size that the "db.format_db_size()", and only if their is different, redo the calc.
The new size of the files is retrived only after that and used only in the new Page Object.

So you need to commit a size change for this format for that a new Page Object could be create.

MaintainPageCounts.count_book()
un_pogaz is offline   Reply With Quote