View Single Post
Old 02-06-2014, 02:29 PM   #1
ZioNemo
Enthusiast
ZioNemo began at the beginning.
 
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 tried to set it with something like "calibredb set_metadata ... -f #ddlib:FR -f #ddlib_index:717 ...", but this does NOT seem to work.
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>
Is this expected?
What I'm supposed to do, instead?

TiA
ZioNemo is offline   Reply With Quote