View Single Post
Old 10-08-2019, 08:42 PM   #47
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,857
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
Quote:
Originally Posted by davidfor View Post
Sorry, you are misunderstanding things. I don't think anyone has said they are getting files named with ".kepub.epub" except when they use one of the drivers to send kepubs to the device. Everything you have described so fare is working exactly as designed.

Firstly, the KoboTouchExtended driver can do the transformation from epub to kepub on the fly when sending the book to the device. And knows to rename the file appropriately.

The KoboTouch driver knows that it can send kepubs that are in the calibre library to the device. And it knows to rename the file appropriately.

If you convert to kepub in the library, or, otherwise add a kepub, calibre stores the book with the extension "kepub". All actions that calibre does with a kepub that do not include use of the above drivers, have no knowledge that these files should be treated differently to other books. Actions such as save-to-disk will update the metadata and then copy the file to the destination using the templates and metadata plugboards. Nothing in these tells calibre to rename the file to ".kepub.epub".

And whether that rename should happen depends on the purpose. If the purpose is to export the book to import to another calibre library, you don't want it to happen. If the purpose is to use it in some other way, then you need to decide what the name should be.

If you want to send a kepub to Dropbox so that the device will download it, you need to rename it to include ".kepub.epub". Unfortunately, I can't think of a good way to do this in calibre. The template used for save-to-disk will always add what calibre thinks is the extension for the books format to the end of the file name. To do this would need changes to calibre, or a plugin written to do it. Maybe someone can write a "Send kepub to Kobo Dropbox" plugin.
Thank you, it's good to know I'm not going insane, I kept looking through the KTE instructions trying to decipher some new way to do what was there.

I'm not sure if there'd be enough interest to warrant a plugin. The use case is rather limited since it'd only be Forma users and people who used the user mod to add dropbox support. And even then the limitations in using dropbox as a middleman vs just using calibre are still there.

I can see dropbox support being handy for some and I think I was just going in with expectations that were too high.
MGlitch is offline   Reply With Quote