Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-06-2016, 10:11 PM   #1
kelemvor
Connoisseur
kelemvor began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
Problem converting with GUI vs command line

Howdy,

I have a folder with about 150 books in it. Each book is in a folder based on the series the book belongs to. One of the things I *HATE* about calibre is that it groups the books by author on the hard drive which sucks.

What I want to accomplish is to take the books exactly as they are organized now and convert them from EPUB to MOBI.

I did this using the ebook-convert command line tool that comes with Calibre and it worked but none of the cover art shows up in the Kindle for Android app. I tried using the --share-not-sync option per the FAQ but that had no effect. Anyone know if there's a different flag/toggle I need to use to make this work?

Anyway, I took 3 of the books and put them into Calibre and converted them via right-click | convert. Those books do show the cover art just fine on my phone. It seems like converting from the GUI vs the command line is doing something differently but I don't know what.

I'm guessing that putting all the books into Calibre and doing a bulk conversion would work but it will destroy the organization of the books and will take a long time to get things sorted back out so I really don't want to do that option.

Anyone have any ideas on how to convert from EPUB to MOBI while leaving the files in their original folders and having the covert art work?

Thanks!
kelemvor is offline   Reply With Quote
Old 04-06-2016, 10:51 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kelemvor View Post
I'm guessing that putting all the books into Calibre and doing a bulk conversion would work but it will destroy the organization of the books and will take a long time to get things sorted back out so I really don't want to do that option.
@kelemvor - I can't answer your question about covers, might be an idea to post the command you used

But, after converting in the GUI you could use the Save to Disk feature. You can control both the folder structure and folder/file names to which files are saved via the Save Template in Preferences->Save to Disk.

Then delete the books from the library.

BT
BetterRed is online now   Reply With Quote
Advert
Old 04-06-2016, 11:13 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
ISTR that that option is not available in the conversion pipeline.
Possibly because the whole PDOC/ASIN mess is handled during send-to-device rather than during the conversion.

Given that, I am not sure why the command-line switch is registered as available.
eschwartz is offline   Reply With Quote
Old 04-06-2016, 11:26 PM   #4
kelemvor
Connoisseur
kelemvor began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
Quote:
Originally Posted by BetterRed View Post
@kelemvor - I can't answer your question about covers, might be an idea to post the command you used
I just used ebook-convert File.epub File.mobi
After I saw the thing about the shear/sync I added --share-not-sync to the end which I got from here.

Quote:
Originally Posted by BetterRed View Post
But, after converting in the GUI you could use the Save to Disk feature. You can control both the folder structure and folder/file names to which files are saved via the Save Template in Preferences->Save to Disk.

Then delete the books from the library.

BT
I tried that but it didn't work. The epub files don't have the Series metadata in them. I did a Download Metadata from within Calibre and it brought down a bunch of stuff but not the series information.
kelemvor is offline   Reply With Quote
Old 04-07-2016, 12:02 AM   #5
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,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You will see covers if you send via calibre, because the calibre kindle driver works around amazon's various cover related bugs. If you are using some other method to send the files to your kindle, then you are on your own. Your best bet is to use a mobi metadata editor program to set the cdetype field to PDOC, then the book will show with cover on the kindle, but as a personal document.

Feel free to complain to amazon about their endless idiocy.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-07-2016, 12:06 AM   #6
kelemvor
Connoisseur
kelemvor began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
Quote:
Originally Posted by kovidgoyal View Post
You will see covers if you send via calibre, because the calibre kindle driver works around amazon's various cover related bugs. If you are using some other method to send the files to your kindle, then you are on your own. Your best bet is to use a mobi metadata editor program to set the cdetype field to PDOC, then the book will show with cover on the kindle, but as a personal document.

Feel free to complain to amazon about their endless idiocy.
On the one that worked, All I did in Calibre was a straight convert. I then just copied the mobi file to my phone manually and the cover showed up.

I'll look into an editor I guess. Happen to know of any that can bulk convert 150 mobi files to set that field all at once?
kelemvor is offline   Reply With Quote
Old 04-07-2016, 12:14 AM   #7
kelemvor
Connoisseur
kelemvor began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
I did notice that when I'm on the "Home" view of the Kindle Android app the covers don't show up. However, if I change to the "On Device" view, then some of the covers do show up. Seems really strange.
kelemvor is offline   Reply With Quote
Old 04-07-2016, 12:46 AM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kelemvor View Post
I tried that but it didn't work. The epub files don't have the Series metadata in them. I did a Download Metadata from within Calibre and it brought down a bunch of stuff but not the series information.
For the record - My understanding of calibre is that the Save to Disk template takes values from the calibre metadata database, not from the book files, of course if there is no series data in the database then there's not going to be any in the folder & file names it creates.

Did you try using different the metadata sources - eg somewhere like Goodreads might yield series information.

Curious - why convert EPUB to MOBI if you have a Android device, there's dozens of Android apps for reading EPUBs.

BR

Last edited by BetterRed; 04-07-2016 at 01:05 AM.
BetterRed is online now   Reply With Quote
Old 04-07-2016, 09:55 AM   #9
kelemvor
Connoisseur
kelemvor began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
Quote:
Originally Posted by BetterRed View Post
For the record - My understanding of calibre is that the Save to Disk template takes values from the calibre metadata database, not from the book files, of course if there is no series data in the database then there's not going to be any in the folder & file names it creates.

Did you try using different the metadata sources - eg somewhere like Goodreads might yield series information.

Curious - why convert EPUB to MOBI if you have a Android device, there's dozens of Android apps for reading EPUBs.

BR
I went into the metadata configuration area and checked all the boxes. I didn't try going through and only doing them one at a time.

The reason I'm trying to convert is simply because I like the Kindle Reader app so I can read everything in one place. If I buy a book from Amazon or paste in my own files, they all show up in the same place.

However, I don't really buy stuff from Amazon very often any more so I guess I can look into checking out newer readers.
kelemvor is offline   Reply With Quote
Old 04-07-2016, 10:13 AM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kelemvor View Post
I went into the metadata configuration area and checked all the boxes. I didn't try going through and only doing them one at a time.

The reason I'm trying to convert is simply because I like the Kindle Reader app so I can read everything in one place. If I buy a book from Amazon or paste in my own files, they all show up in the same place.

However, I don't really buy stuff from Amazon very often any more so I guess I can look into checking out newer readers.
checking the MD source configuration boxes only affects what gets DOWNLOADED

Downloading MD only happens if you do it. (and IMHO, don't blindly trust it)

Conversion uses the metadata in the LIBRARY DB

You can't skip steps GIGO
theducks is offline   Reply With Quote
Old 04-07-2016, 10:18 AM   #11
kelemvor
Connoisseur
kelemvor began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
Yeah. I told Calibre to go download the metadata. it download a bunch of information but no Series information for the books I tested.
kelemvor is offline   Reply With Quote
Old 04-07-2016, 10:24 AM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kelemvor View Post
Yeah. I told Calibre to go download the metadata. it download a bunch of information but no Series information for the books I tested.
As I said:

"Don't trust what you get"

Some sites are better than others. But it also depends on the genre

TLC is the only way
theducks is offline   Reply With Quote
Old 04-07-2016, 02:24 PM   #13
kelemvor
Connoisseur
kelemvor began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
Looks like Google Play Books lets me upload ePubs and syncs my progress across devices so I think I'll just switch over to that since Amazon's App can't figure out how to make this work. No converting necessary.
kelemvor is offline   Reply With Quote
Old 04-07-2016, 04:04 PM   #14
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@kelemvor - have you considered the optional metadata source plugins, such as the one I mentioned -- Goodreads. You install them via Preference->Plugins. Have a look in the Index of plugins

When calibre adds books to a library it can get metadata in two ways, from the file name or from the book itself, it's controlled by Preferences Add Books. If your books are already in series folders then many bulk rename utilities have the functionality to inject the parent folder name into the file names.

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Equivalent in command line to convert to azw3 in gui? dawood Conversion 7 10-22-2013 01:08 AM
command line vs gui db update discrepancy -maybe? riksaga Calibre 1 03-21-2013 11:22 PM
Calibre Server runs on command line, fails in GUI gregoryx Calibre 0 08-21-2011 06:14 PM
Problem updating metadata (using mobi2mobi command line and gui) whitearrow Kindle Formats 3 12-05-2009 07:07 PM
command line vs GUI (PDF->MOBI for K2) tlc Calibre 12 02-24-2009 06:20 PM


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


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