|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: May 2018
Device: none
|
ebook-convert.exe doesn't work with deDRM plugin, unlike GUI or calibredb.exe
You can use GUI with deDRM plugin to add an encrypted azw book with no problem.
You can also use calibredb.exe: Code:
calibredb.exe add book.azw However, it seems ebook-convert.exe doesn't support plugin, or at least not the deDRM one. It will just error out at mobi6.py L157 due to (obvious) `DRMError`. According to what kovidgoyal said before, I assume ebook-convert.exe is supposed to work exactly the same as conversion from the calibre GUI, so I think it's bug. Thanks for your time! |
![]() |
![]() |
![]() |
#2 |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Not a bug. DeDRM plugin removes DRM when you add a book to Calibre. Calibre GUI conversion works on the DRM-free book already. If you try to convert an ebook that still has DRM in Calibre GUI, conversion will fail same as ebook-convert.exe
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: May 2018
Device: none
|
So is it possible to convert a encrypted book directly without adding it to calibre's DB?
|
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,488
Karma: 29308976
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Depends on the plugin, see Calibre User Manual: FileTypePlugin.
That plugin must have an on_import method because it runs when a book is added, but to work at conversion time it needs an on_preprocess method, you might need to ask elsewhere about that. BR |
![]() |
![]() |
![]() |
#5 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,882
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: May 2018
Device: none
|
Thanks for the replies. You guys are very helpful.
|
![]() |
![]() |
![]() |
#7 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: May 2018
Device: none
|
Quote:
Thank you very much! |
|
![]() |
![]() |
![]() |
#8 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,488
Karma: 29308976
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Life wasn't meant to be that easy
![]() Last edited by BetterRed; 05-18-2018 at 06:15 AM. |
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: May 2018
Device: none
|
The plugin has added this functionality by default: https://github.com/apprenticeharper/...ools/pull/1241
So once it's released, it would be able to support ebook-convert out of box. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update tags only using ebook-convert.exe | boredsilly | Library Management | 2 | 03-16-2012 05:10 PM |
PRS-T1 ebook_msc.exe doesn't work any more with 1.0.03.11140 firmware ? | seabee | Sony Reader Dev Corner | 5 | 12-21-2011 02:50 PM |
Max keept old issues when using ebook-convert.exe?? | j0s3f | Conversion | 1 | 09-11-2011 05:07 PM |
Batch breaks after ebook-convert.exe | j0s3f | Calibre | 1 | 05-04-2011 05:27 PM |
Calibredb add after ebook-convert fails | spullar | Calibre | 5 | 03-04-2010 01:14 PM |