01-15-2014, 04:52 PM | #1 |
Enthusiast
Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
BookCAT + subdirs importing
Hi,
I have a huge library split in data/metadata. Data (actual content) is in a series of subdirectories (possibly compressed). Metadata is handled in BookCAT (long deceased, R.I.P.). Importing Data is not a problem (I already did that for about one half of my library), Calibre also did a very decent job in extracting metadata from Data; I had to hand-modify some of the entries. Unfortunately the bulk of Metadata is *not* contained in Data and that is, of course, lost. Can I extract part of Metadata to CSV and use Import List to take that into Calibre, but that is suboptimal for at least two reasons:
What is the recommended way to do this? Can Import List access .mdb databases (or other databases)? I can program (I never used python, but i know more programming languages than I care to mention ) and thus I could "extend" the plugin, if necessary and useful, but I would need guidance because my time is very limited. TiA |
01-15-2014, 10:11 PM | #2 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Since you say you can program, if I were you, I'd just write a script that reads the metadata from whatever database you have it in and uses teh calibredb command to create the book records with that metadata.
|
Advert | |
|
01-16-2014, 06:04 PM | #3 | |
Enthusiast
Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
Thanks Kovid.
Quote:
I am a bit confused, however: I had a look to the structure of metadata.db (SQLite, apparently) and I found no support for cover page; it seems it's stored in the book subdir, together with the .opf file, is this correct? If I get You correctly I should prepare a .opf file to use it with "calibredb set_metadata ...", right? or should I use "calibredb add ..."? In any case, could You please point me to definition of .opf tags supported by Calibre? I was unable to find docs (aside from the very general stuff at www.idpf.org and dublincore.org). If I update the .opf file in subdirs, can I then "rebuild db" from that? Thanks for the quick answer! |
|
01-16-2014, 07:10 PM | #4 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
You can set individual fields using
Code:
calibredb set_metadata --field=field:value
Code:
calibredb set_metadata --list-fields dump from Code:
calibredb set_metadata --help Spoiler:
So I'd guess something like Code:
calibredb set_metadata --field=cover:/path/to/cover.jpg |
01-16-2014, 07:19 PM | #5 | |
Enthusiast
Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
Quote:
I was trusting calibre manual. Thanks for the pointer! |
|
Advert | |
|
01-16-2014, 07:28 PM | #6 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
|
|
01-17-2014, 10:35 AM | #7 |
Right, Except When Wrong
Posts: 353
Karma: 3968525
Join Date: Aug 2007
Location: Indianapolis
Device: Kindle Oasis 3 (sometimes iPad Mini).
|
ZioNemo: You might be interested in the Fans of FNProgamvare page on Facebook. The company has ceased doing business, but the internet.dll files are still being updated and their is an ongoing discussion about the possibility of sometime reviving the programs or at least rebuilding the old user forum.
Last edited by MSWallack; 01-17-2014 at 10:35 AM. Reason: Forgot to add link |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Companion - created wrong subdirs on device? | testrider | Calibre Companion | 7 | 10-07-2013 12:56 AM |
Convert subdirs to categories while importing automatically | geruser | Calibre | 2 | 09-15-2013 01:56 PM |
Importing one library into another one | chemi | Library Management | 4 | 01-02-2013 10:24 AM |
Importing EPUBs | jimyboyle | Sony Reader | 5 | 01-17-2010 07:54 AM |
Importing | Importing121 | Lounge | 2 | 05-20-2008 11:24 AM |