Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-10-2012, 02:40 PM   #1
Fmstrat
G:RSS-Web Creator
Fmstrat began at the beginning.
 
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
Question Calibre Web Interface - Add MetaData pre-Download?

Is it possible to have Calibre add the meta-data to a file when downloading from the web interface?

Scenario A (works): I hook a Kindle up via USB, and add a book to Main Device. Any meta data such as the Amazon ID is transfered over to the Kindle, enabling Whispersync.

Scenario B (doesn't): I visit the web interface from a Kindle, and download the MOBI format. The Kindle receives the original MOBI file, not one with the meta data added in, thus no Amazon ID or Whispersync.

Thanks!
Ben
Fmstrat is offline   Reply With Quote
Old 01-10-2012, 09:59 PM   #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,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The web server does set metadata in epub and mobi files. Make sure you are using a recent calibre version.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-12-2012, 08:52 AM   #3
Fmstrat
G:RSS-Web Creator
Fmstrat began at the beginning.
 
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
Thanks for the response.

However, that doesn't seem to be the case for me. I'm using 0.8.34 on a Mac, and have also tested this with the Linux version.

Exact method to reproduce (without need for Kindle):
  • Load a book with a random cover and no Amazon ID into Calibre
  • Right click, Edit Metadata, Download Metadata and Covers, Download Both
  • Cover changes and Amazon ID is listed on the right
  • Visit http://localhost:8080/mobile with server running (it also happens with non-mobile site, but I use the mobile site on the Kindle)
  • Click on MOBI and download
  • Add this new book to Calibre, saying yes it's OK to duplicate (just an easy way to see the cover/metadata)
  • This new MOBI file/book does not have the new cover or the Amazon ID

I can post a video if required.

If I Save to Disk a MOBI file, and then add that file to Calibre, it does contain all the relavent metadata. My suggestion was to have the web interface function the same way, especially as it relates to the Amazon ID.

I could be doing something dumb that's causing the ID to not come over, if so, let me know

Thanks,
Ben
Fmstrat is offline   Reply With Quote
Old 01-12-2012, 09:21 AM   #4
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,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The only way to change covers in some MOBI files is to reconvert. Change the title or author for your tests.
kovidgoyal is offline   Reply With Quote
Old 01-12-2012, 10:20 AM   #5
Fmstrat
G:RSS-Web Creator
Fmstrat began at the beginning.
 
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
Quote:
Originally Posted by kovidgoyal View Post
The only way to change covers in some MOBI files is to reconvert. Change the title or author for your tests.
Ahhh, interesting!

Sorry if I'm slow, but at what point would I do this to force the metadata to rebuild and save to the mobi file? I tried changing the title after downloading metadata and then retrieving it from the calibre server via web, but the same thing happened, it just sent the original mobi file.

So far, the only way I've managed to get this to work is to download the metadata, save the book to a file using Calibre's export, delete the original from Calibre, then import the new one.

Any chance for a feature request of force running the same conversion process used in "save to disk" in the web interface prior to delivering the file via HTTP (or an option to do so)?

Thanks!
Ben
Fmstrat is offline   Reply With Quote
Advert
Old 01-12-2012, 10:30 AM   #6
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: 30,957
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 Fmstrat View Post
Ahhh, interesting!

Sorry if I'm slow, but at what point would I do this to force the metadata to rebuild and save to the mobi file? I tried changing the title after downloading metadata and then retrieving it from the calibre server via web, but the same thing happened, it just sent the original mobi file.

So far, the only way I've managed to get this to work is to download the metadata, save the book to a file using Calibre's export, delete the original from Calibre, then import the new one.

Any chance for a feature request of force running the same conversion process used in "save to disk" in the web interface prior to delivering the file via HTTP (or an option to do so)?

Thanks!
Ben
did you try a simple Mobi->Mobi conversion ?
theducks is offline   Reply With Quote
Old 01-12-2012, 11:01 AM   #7
Fmstrat
G:RSS-Web Creator
Fmstrat began at the beginning.
 
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
Quote:
Originally Posted by theducks View Post
did you try a simple Mobi->Mobi conversion ?
I did try this, with mixed success.

Basically, the conversion pulled the cover over, but not the Amazon ID. I also had to go in and delete the format ORIGINAL_MOBI from the book record or the web interface would still supply that one instead of the new MOBI file.

I'm not sure what all the "save to" feature is doing that is different from the mobi->mobi conversion, but the ID is the one thing I noticed right off.

Thanks,
Ben
Fmstrat is offline   Reply With Quote
Old 01-12-2012, 04:01 PM   #8
Fmstrat
G:RSS-Web Creator
Fmstrat began at the beginning.
 
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
Hrm.. perhaps this isn't even possible? I just realized the save-to-disk and then reimport keeps the Amazon ID, but still does not deliver it via the web interface. Is the Amazon ID stored in the MOBI file, or is it pushed to the Kindle during the USB sync?

Thanks,
Ben
Fmstrat is offline   Reply With Quote
Old 01-12-2012, 09:40 PM   #9
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,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
amazon ids are not added to MOBI files. Save to disk works because they are stored in the opf file.
kovidgoyal is offline   Reply With Quote
Old 01-13-2012, 08:58 AM   #10
Fmstrat
G:RSS-Web Creator
Fmstrat began at the beginning.
 
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
Quote:
Originally Posted by kovidgoyal View Post
amazon ids are not added to MOBI files. Save to disk works because they are stored in the opf file.
Yea, that makes total sense now. Thanks! Since when I was importing the newly exported MOBI I was deleting the opf, I'm guessing it's continuing to store the data in the DB for caching as well.

This makes me wonder if it would be possible to create an app for rooted Kindles to grab and insert Amazon IDs directly on the device.

Thanks again,
Ben
Fmstrat is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre server web interface redesign llucasdelima Related Tools 2 11-03-2011 01:23 PM
Linux Web Interface - No Metadata Sent Fmstrat Calibre 7 09-21-2011 09:43 AM
New calibre metadata download Noughty Library Management 14 05-17-2011 04:11 PM
metadata download - overwrite vs add to... cybmole Calibre 5 02-15-2011 10:07 AM
Web interface inside calibre alexxx Calibre 1 09-01-2010 04:34 AM


All times are GMT -4. The time now is 12:18 AM.


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