|02-27-2009, 08:23 PM||#1|
Join Date: Feb 2009
Command line calibredb set_metadata problem
when you add a book to a series you can tell calibre which book number it is. Imagine i have 200 files and i add them to the database and enter a series. Then each book will have in the book field the number 1. i want change this but not with manual way in the gui. It is tiresome to select the book, press E, click on the book field and enter the number 200 times.
So, the idea i had is the following one: Writing a bash script which will do this automatically. That wshould be the final result BUT:
I tried to write the metadata with calibredb set_metadata ID /path/to/opf-file.
For that i had changed the following line in the opf-file from:
<meta name="calibre:series_index" content="1">
<meta name="calibre:series_index" content="25">
It worked well, except that the command would not write the 25 into the database. Instead it turned out that the 1 was still there.
What have i done wrong? Is there a way to change the book number that way?
|02-27-2009, 08:44 PM||#2|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
most likely a bug, open a ticket and attach the opf file you used
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Defining Metadata with "calibredb add" command line function.||macr0t0r||Calibre||3||03-01-2012 07:36 PM|
|Problem updating metadata (using mobi2mobi command line and gui)||whitearrow||Kindle Formats||3||12-05-2009 07:07 PM|
|Why use the command line?||slantybard||Calibre||6||07-22-2009 12:17 PM|
|Errors on Command Line||drnkusv||Calibre||11||11-07-2008 02:59 PM|