View Single Post
Old 10-05-2012, 05:44 AM   #1
Pepin33
Zealot
Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.
 
Posts: 109
Karma: 419
Join Date: Aug 2012
Location: Spain
Device: Kindle Touch
Saving my own data in Calibre's database

I'm working in a plugin to log the changes I made on a library (add books or formats, delete books or formats, etc) to be able to replicates it again.

I need to save a list of the changes on every book. And I was looking at Calibre's database to find if there is a table to do this.

I found the "books_plugin_data" table, with this fields: id, book, name and val. Can I use this table to store my values, or is it intended to store another thing?

If it's unsuitable to use Calibre's tables to store data from plugins, what's the correct way to do this? (maybe a JSON file?)
Pepin33 is offline   Reply With Quote