View Single Post
Old 04-21-2023, 04:19 PM   #8362
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,127
Karma: 77213683
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
I don't think FFF needs to do anything special about this. We'll have to watch for issues.

Tech Details:
Spoiler:
FFF uses the Calibre APIs to remove formats (db.remove_format()) and books (actions['Remove Books'].do_library_delete()).

FFF does db.remove_format() before adding the updated epub (or other downloaded format) and 'Remove New Chapter marks' specifically so the prior version ends up in system trash.

If a user updates a book with FFF and then restores the removed format from Trash, it will not restore the prior metadata in the library. It would be equivalent to doing 'Update Calibre Metadata Only'.

I'm a bit surprised--as I recall, Kovid had previously not wanted a trash can in Calibre. And I don't find any discussion of it here in MR, in the bug tracker or in github. I wonder what changed his mind?
Not sure. I seem to recall someone making a request either here on MR or on Launchpad, but hadn't been paying much attention to it.

There is one discussion, but more on how to disable it entirely:
https://www.mobileread.com/forums/sh...d.php?t=353478
ownedbycats is offline   Reply With Quote