![]() |
#1 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
|
Converting epubs to kepub format when sending to a folder device
Hi,
I'd like to know if it is possible to convert epubs to kepub format "on the fly" when I send them to a folder device, as I do with the physical kobo device. Also, I noticed that when I convert individually the ebooks, they got the .kepub file extension; that is making them not readable from the kobo, unless they are not renamed. Would it be possible to have the proper extension (.kepub.epub) without having to rename every single file? Just to clarify, my intention is to put already converted kepub files into a dropbox folder so that I can get them directly from the cloud if needed. |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,741
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
At this point, the KoboTouchExtended driver only works when sending to a Kobo ereader. You could use the Kepub Output plugin but that will store the kepubs in the calibre library.
The few times I've wanted to do a save to disk and convert to kepub, I used calibre to save to disk and then ran kepubify on the output folder to generate the kepub.epub files. I used a batch file with "kepubify --inplace --update path/to/directory. The --update meant I could recycle the directory without reconverting and the --inplace keeps kepubify from adding -converted to the file name. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@CyberPaul: Not without writing some code.
You can get calibre to convert the epubs to kepub by changing configuration of the Folder Device Interface. In the list of formats, move "kepub" to the top and deselect epub and any other format that you want converted to kepub. After that, when you send a book to the folder, if you do not already have a kepub version, it will convert the book to kepub and then do the send. After that, you will still need to do the rename. The built-in KoboTouch and KoboTouchExtended driver have code to handle this because both know the books are going to a Kobo device. The Folder Device does not know this, and hence does not have anything to handle the extension change. And I'm not sure it should. |
![]() |
![]() |
![]() |
#4 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
|
Well, I think it should. There is no point in having a kepub without the right extension. After all the objective is to make it readable by the physical ereader. But also on a PC or a Mac, usuall software readers can manage epubs, not kepubs.
|
![]() |
![]() |
![]() |
#5 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
|
Quote:
This is interesting: is that command going recursively within the subfolders? Am I going to have just .kepub.epub files in the folder(s)? |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,741
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Basically, I have a directory called kepubify in which the kepubify.exe and the kepubconvert.cmd batch file are found. I save to disk in a subdirectory called Epub in the kepubify directory. There is also a subdirectory called Kepub where the converted books end up. The directory structure in the kepub directory will match the structure of the epub directory after the conversion. I renamed the kepubify executable to kepubify.exe since I only keep the 64 bit version. The %~dp0 looks a bit odd but it gives the file path from which the batch file was launched. kepubify |--kepubconvert.cmd |--kepubify.exe |--Epub |--Kepub contents of kepubconvert.cmd: Code:
@echo OFF setlocal enableextensions set source=%~dp0Epub set target=%~dp0Kepub set binpath=%~dp0kepubify.exe set options=--update --inplace echo EPUB Dir %source% echo KEPUB Dir %target% echo Program %binpath% echo Options %options% timeout 10 "%binpath%" %options% --output "%target%" "%source%" endlocal pause |
|
![]() |
![]() |
![]() |
#7 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,683
Karma: 103503695
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I'm curious. Why when Kobos are perfectly supported in Calibre as a USB device and ONLY Kobo use kepub would you want to to use kepub to folder?
I only use Calibre viewer on PC and on Android I installed Kobo app out of curiosity. I use KOReader, Lithium or Aldiko Basic on various Android eInk, tablets and phones. |
![]() |
![]() |
![]() |
#8 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,741
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,683
Karma: 103503695
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
|
![]() |
![]() |
![]() |
#10 | ||
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#11 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
|
|
![]() |
![]() |
![]() |
#12 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,741
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#13 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
|
does it assumes or checks?
Last edited by CyberPaul; 05-23-2022 at 03:42 AM. |
![]() |
![]() |
![]() |
#14 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,741
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#15 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
|
Clear, thanks again
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conditionally converting to kepub when transfering to device | Colonel Cathcart | Conversion | 3 | 06-27-2021 07:58 AM |
3.26.1 not converting Kepub format | RZetlin | Conversion | 2 | 06-26-2018 02:47 AM |
Can I disable Calibre adding 50kb to epubs when sending to device? | Zhaan | Library Management | 7 | 07-13-2016 04:22 PM |
Generic "Sending to Device" template not kicking in on Folder Device | At_Libitum | Library Management | 2 | 11-01-2013 07:12 AM |
Calibre to Android device - remove sending to eBooks/import folder? | bosun120 | Calibre | 1 | 09-23-2011 04:12 AM |