View Single Post
Old 12-29-2018, 05:37 PM   #7
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 15,422
Karma: 15063892
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by jmoore914 View Post
Thanks for the help!

remove_formats is working for the most part. The only issue I'm having is that it is successfully deleting the ebook from the filesystem but the deleted format is still listed as available in the Calibre interface. Is there some command I need to run in order to have this change reflected in the Calibre interface?

Thanks again
remove_formats should only remove the nominated format file (e.g. EPUB, TXT etc) from the library, and it should remove the corresponding link in database.

If you restart calibre after running your plugin, is the removed format still showing in Book Details. If not, that would indicate you need to refresh the Book Details panel after doing the remove_formats. If it is -

BR
BetterRed is offline   Reply With Quote