Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-26-2021, 04:27 AM   #1
edent
Connoisseur
edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.
 
edent's Avatar
 
Posts: 51
Karma: 94224
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
How to stop converting to DOCX?

I'm connecting KOReader (2021.08), running on a LikeBook Ares, to Calibre (5.25.0) via WiFi. Whenever I send an AWZ3 book to main memory, it converts to DOCX. I want it to automatically convert to EPUB instead.

I tried removing the DOCX plugin, but it can't be removed or disabled.

I've set
Code:
restrict_output_formats = ['EPUB', 'AZW3']
and restarted. But books still get converted.

Under Behaviour - the preferred output format is EPUB.

If I choose "Send specific format to device", DOCX is the default.

Under "Configure This Device" there are no options for preferred file format.

Is there any way I can remove DOCX completely - or set EPUB as my default for sending to a wireless device?

Thanks!
edent is offline   Reply With Quote
Old 08-26-2021, 06:29 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,311
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
How are you connecting via WiFi? Most wifi connections are pull based via the content server. Is this a special client on the device that uses the same wireless protocol as calibre companion?
kovidgoyal is offline   Reply With Quote
Advert
Old 08-26-2021, 07:45 AM   #3
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
It is using the smart app driver, like CC.

Does the list of supported formats sent to calibre imply an order?. In that case I'm afraid that docx takes precendence over epub: https://github.com/koreader/koreader...extensions.lua

There's no gui to change the list of supported files on KOReader, but OP can create its own set of supported extensions to send to the server.

Just create a file named calibre-extensions.lua in dataDir (that would be /sdcard/koreader on most android devices) with the desired extensions, like:


Code:
return {
    "epub",
    "fb2",
    "pdf",
}
Save it and restart the client/program.
pazos is offline   Reply With Quote
Old 08-26-2021, 11:33 AM   #4
edent
Connoisseur
edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.
 
edent's Avatar
 
Posts: 51
Karma: 94224
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
Quote:
Originally Posted by kovidgoyal View Post
How are you connecting via WiFi? Most wifi connections are pull based via the content server. Is this a special client on the device that uses the same wireless protocol as calibre companion?
I'm using https://koreader.rocks/ - an Android app. I start the content server in Calibre, and then in KOReader connect to it. It shows up as "KOReader Ares" and I can "push" books from Calibre to my eReader.

Does that help?

I don't know too much about it - but there's documentation at https://koreader.rocks/doc/topics/README.md.html
edent is offline   Reply With Quote
Old 08-26-2021, 01:30 PM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,412
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by pazos View Post
It is using the smart app driver, like CC.

Does the list of supported formats sent to calibre imply an order?. In that case I'm afraid that docx takes precendence over epub: https://github.com/koreader/koreader...extensions.lua
Yes, calibre assumes that the list is in desired order. If no format on the list exists then calibre converts the book to the first format.
chaley is offline   Reply With Quote
Advert
Old 08-27-2021, 10:48 AM   #6
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by chaley View Post
Yes, calibre assumes that the list is in desired order. If no format on the list exists then calibre converts the book to the first format.
Thanks for the hints, as always

Then I'm going to assume that calibre omits conversion to 'azw', 'cbz', 'chm', 'djv', 'djvu', 'doc', as all of them have higher priority than 'docx'?

Code:
SMART_DEV (  38.02:  0.000) open selected formats ['azw', 'cbz', 'chm', 'djv', 'djvu', 'doc', 'docx', 'epub', 'fb2', 'htm', 'html', 'md', 'mobi', 'pdb', 'pdf', 'prc', 'rtf', 'txt', 'xhtml', 'xps', 'zip']
pazos is offline   Reply With Quote
Old 08-27-2021, 12:23 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,311
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
none of those are formats calibre converts to.
kovidgoyal is offline   Reply With Quote
Reply

Tags
ares, conversion, likebook


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting from EPUB to DOCX - styles tage fredheim Conversion 2 10-16-2019 11:21 AM
Having issues converting docx to epub suenhoho Conversion 6 03-20-2019 04:16 PM
Error Converting Docx to EPUB lisanna Conversion 1 11-01-2016 05:03 AM
Problems converting docx with Calibre Benedikt Conversion 9 09-22-2016 08:26 AM
Error with converting docx to epub ssflwp Calibre 3 07-05-2014 06:39 AM


All times are GMT -4. The time now is 06:07 PM.


MobileRead.com is a privately owned, operated and funded community.