View Single Post
Old 06-11-2021, 01:23 AM   #2531
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by ownedbycats View Post
Question:

Save template:
{#kobopath}/{author_sort:sublist(0,1,&)}/{title} - {authors}

Occasionally I have a fanfic change titles. The driver sends it as a new book because the save template has changed. I end up with duplicate copies of the book.

Is there a way to have the driver just overwrite the existing matched book despite it being the wrong title?
No.

I've considered it how to handle this, but, the work involved doesn't seem worth it. This has to be done by overriding something in base calibre code, and there isn't a good spot to do it without major changes.

The alternative would be a "move" function in the Kobo Utilities plugin to change the name of the existing file. But, that means a lot of database updates. It is a bit to risky.
davidfor is offline   Reply With Quote