View Single Post
Old 12-21-2021, 09:45 PM   #6
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 imNOTdwight View Post
That condition is always false.

Both files are saved to the same location with the same name (except for the extension).

Guess I won't be able to do it.

If only the kobotouchextended or something would convert to one location and copy the epub to another on the device. It would achieve what I need.
You know you missed something very important. Until that last statement, everything you have said implied you have kepubs in the library and are sending them to the device. But, if you are using the KobTouchExtended driver, you are probably sending an epub.

The test you are using is basically, "Do I have a kepub as one of the formats for the current book?" And the answer is apparently no. Change the test to use "epub" and it should do what you want. I don't remember exactly when calibre runs the template, so I am not sure if it is possible to work out exactly what format is being sent.
davidfor is offline   Reply With Quote