Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-16-2014, 03:07 PM   #1
EnergyLens
Hack
EnergyLens began at the beginning.
 
Posts: 34
Karma: 12
Join Date: Dec 2009
Device: Kobo Aura HD, Kindle Paperwhite
Migrating from Delicious Library / Adding Books from .CSV, .TXT

This python script uses calibredb to import Empty Book Records into Calibre from any delimited list. As presented it is tailored to Exports from Delicious Library.

There are two calls for each book:
calibredb add -e ...
calibredb set_metadata ... id

The record id for each added book is captured to enable the second call, which is required to set user-defined fields (custom columns). In this specific case there is a true/false "read" field exported by Delicious Library that I wanted to capture. If there are no custom columns the standard metadata can be inserted with a single call using the add option.
Attached Files
File Type: zip ImportBooks.py.zip (1.3 KB, 170 views)
EnergyLens is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert your my clippings.txt to .doc, csv, and html Ericc22 Amazon Kindle 12 11-24-2022 06:00 AM
Adding books already in library directory but not library database sfguy5874 Library Management 1 07-07-2012 04:33 AM
migrating mobipocket library to somewhere else keen12 Reading and Management 2 03-14-2010 01:37 PM
Migrating library.db ferridder Calibre 4 11-20-2008 05:44 PM
Delicious Library stustaff Workshop 21 01-11-2008 10:18 AM


All times are GMT -4. The time now is 05:24 AM.


MobileRead.com is a privately owned, operated and funded community.