03-09-2013, 05:17 AM | #1 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
Calibre ebook-meta can't empty metadata
I've been using ebook-meta to change the metadata on my .mobi files, and I'm trying to empty as many of the metadata slots as I can. So far I've discovered the following parameters to empty slots:
Code:
--tags="" --publisher=" " --comments=" " My second question is around the Book Producer slot. I can't empty this - I can't even change its content, no matter what I do. I've tried --book-producer="", --book-producer=" " and even --book-producer="test", but it remains the same no matter what. Here's sample output: Code:
X:\Personal\eBooks>ebook-meta esop.mobi --book-producer="" Original metadata:: Title : Aesop's Fables Author(s) : Aesop Book Producer : calibre (0.7.16) [http://calibre-ebook.com] Tags : Published : 0101-01-01T00:00:00+00:00 Identifiers : isbn:9781593080624 Comments : Changed metadata:: Title : Aesop's Fables Author(s) : Aesop Book Producer : calibre (0.7.16) [http://calibre-ebook.com] Tags : Published : 0101-01-01T00:00:00+00:00 Identifiers : isbn:9781593080624 Comments : X:\Personal\eBooks>ebook-meta esop.mobi --book-producer=" " Original metadata:: Title : Aesop's Fables Author(s) : Aesop Book Producer : calibre (0.7.16) [http://calibre-ebook.com] Tags : Published : 0101-01-01T00:00:00+00:00 Identifiers : isbn:9781593080624 Comments : Changed metadata:: Title : Aesop's Fables Author(s) : Aesop Book Producer : calibre (0.7.16) [http://calibre-ebook.com] Tags : Published : 0101-01-01T00:00:00+00:00 Identifiers : isbn:9781593080624 Comments : X:\Personal\eBooks>ebook-meta esop.mobi --book-producer="test" Original metadata:: Title : Aesop's Fables Author(s) : Aesop Book Producer : calibre (0.7.16) [http://calibre-ebook.com] Tags : Published : 0101-01-01T00:00:00+00:00 Identifiers : isbn:9781593080624 Comments : Changed metadata:: Title : Aesop's Fables Author(s) : Aesop Book Producer : calibre (0.7.16) [http://calibre-ebook.com] Tags : Published : 0101-01-01T00:00:00+00:00 Identifiers : isbn:9781593080624 Comments : Thanks for any help. |
03-10-2013, 03:50 AM | #2 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
Further to this, how can I empty the Languages metadata slot? I've done a bit of testing and from what I can see:
if the existing value of the Languages slot is "en", then --language=" " will empty the slot. But if the existing value of the Languages slot is "eng", then it can't be changed at all - neither --language=" ", nor --language="" nor --language="en" will change it from "eng". Last edited by Budfudder; 03-10-2013 at 03:57 AM. |
Advert | |
|
03-10-2013, 10:13 AM | #3 |
Well trained by Cats
Posts: 29,869
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
It won't work because you are trying to make an invalid entry.
Go learn about Language codes |
03-11-2013, 05:16 PM | #4 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
|
03-11-2013, 07:48 PM | #5 | |
Omnivorous
Posts: 3,281
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
|
Quote:
And I suspect you're not going to be able to change Book Producer, because it's built into calibre *because* it's the Book Producer. |
|
Advert | |
|
03-12-2013, 12:01 AM | #6 | |
US Navy, Retired
Posts: 9,863
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
In reference to the Book Producer slot, calibre is in fact the book producer so this might be a choice by Kovid. You can ask in your bug report but I suspect if you want to clear that field you'll have to do it in a 3rd party app like Sigil. |
|
03-12-2013, 06:29 PM | #7 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
Thanks for this - that had honestly never occurred to me. It's strange that there's an option to do it when it appears you can't do it.
|
03-12-2013, 06:30 PM | #8 | |
Enthusiast
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I remove Published Date from metadata using ebook-meta | Pixelastic | Library Management | 6 | 11-10-2012 05:11 AM |
New Metadata class (empty books) and custom columns | kiwidude | Development | 14 | 03-12-2011 06:47 AM |
Differences between library and reader: Force calibre to write metadata into ebook | durtreg | Calibre | 17 | 01-28-2011 04:30 AM |
Can't change metadata with ebook-meta | mumdigau | Calibre | 14 | 08-05-2010 08:58 PM |
set meta data with ebook-meta and ebook-convert | krischik | Calibre | 6 | 01-19-2010 11:40 AM |