View Single Post
Old 11-20-2011, 10:52 AM   #6
Mar2zz
{insert custom title}
Mar2zz began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Sep 2010
Location: North of Ned'r Landum
Device: Bebook Reader 2010
Wow that's fast thx!
One more question.
Restarting the server doesn't seem to pick up metadata from newer opf files (those I created with my friend >

So I also updated the db after creating it with calibredb set-metadata id metadata.opf.
That doesn't update info on server either it seems after a restart, but it says it notified calibre of the changes.

What is the fasted way to import new and unknown books from a folder, grab metadata and a cover for it and add this new info to the db or book so the server can display it, with calibrecli-commands only?

(running everything with --with-library option because it's on a headless server.)

ps:
My python skills are to little to be taken seriously, so I can't submit a patch, but I can workaround with a cronjob, thanks.


edit:
Wait a minute. I am grabbing covers, then changing metadata, reimporting, this changes paths and also overwrites existing covers... Need two runs, one for meta, one for covers

Last edited by Mar2zz; 11-20-2011 at 11:21 AM. Reason: I see what happens
Mar2zz is offline   Reply With Quote