![]() |
#1 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
calibredb format for "series" custom columns
I have custom column "ddlib" of type "series":
Code:
ddlib {u'datatype': u'series', u'display': {}, u'editable': True, u'is_multiple': False, u'label': u'ddlib', u'multiple_seps': {}, u'name': u'DD_Library', u'normalized': True, u'num': 1} I see no error, but _ddlib_index is always set to "1.0" What is the right way to do that? "calibredb set_metadata -h" does not give any info. Similar problem for the "regular" series field: index is always "1.0". Difference is in xml "catalog" dump: Code:
<record> <_ddlib>BB</_ddlib> <_ddlib_index>1.0</_ddlib_index> ... <series index="1.0">Books Of Blood</series> <library_name>cLib</library_name> </record> What I'm supposed to do, instead? TiA |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
don't use multiple -f options, just separate them by commas, e.g. "-f #ddlib:FR,#ddlib_index:717"
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
|
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
Never mind, I misread the man page, that's just if you're setting identifiers/tags.
... I have experimented, and I can get it to set the series and index like this: Code:
calibredb set_metadata -f "series:randomness [22]" 698 Code:
calibredb set_metadata -f "#subseries:randomness [22]" 698 |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,201
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
I'm running from source and I pulled this change. It is now setting custom #blah_index fields correctly, this works:
Code:
calibredb set_metadata -f "#subseries:randomness" -f "#subseries_index:22" 698 ![]() ![]() However, using Code:
calibredb set_metadata -f "series:randomness [22]" 698 Code:
calibredb set_metadata -f "#subseries:randomness [22]" 698 As it does work for the main column, I think this should be fixed for custom columns too. @ZioNemo, this will be fixed in the update that was just just released right now. Last edited by eschwartz; 02-06-2014 at 11:39 PM. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,201
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Getting that notation to work with custom series fields is rather more effort than it is worth to me.
|
![]() |
![]() |
![]() |
#8 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
Quote:
As always, thanks for the excellent support you provide us all! Last edited by eschwartz; 02-07-2014 at 12:02 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibredb to read custom columns values | diazlaz | Development | 1 | 12-27-2013 07:51 PM |
Custom column: "Updated date", when adding new "versions" of the same file? | enriquep | Library Management | 16 | 11-03-2011 10:46 AM |
No data in "In Library" and "On Device" columns after upgrade | ily426 | Library Management | 8 | 04-03-2011 02:53 PM |
Error message : "Invalid Format" " Do you want to format your internal memory" | narbeauchamp | Sony Reader | 11 | 07-22-2009 12:39 PM |
"Dummies" Series Now Available in MobiPocket Format | HarryT | News | 0 | 10-27-2007 09:58 AM |