View Single Post
Old 07-24-2012, 11:52 PM   #653
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Beta Test for Settings in Library

I'm looking for a few brave, hearty souls to test the next version. Well, okay, maybe it isn't as bad as all that. It is a bit more dangerous than usual, though. Backups are recommended.

This is the first version to store its settings in the library db rather than a JSON file on disk.

The big advantages of this are:
  • Backing up the library backs up the plugin settings
  • Copying the library (with structure) copies the plugin settings
  • Using the same library from more than one place can share settings
  • This is 'The Future' of plugins! Or so I'm told. There's talk of concurrent calibre someday.

The disadvantage is that it's not backward compatible out of the box. If you need to back out to the pre-db version of FFDL, you'll need to hand edit your fanfictiondownloader_plugin.json file to re-enable the migrated settings.

Plus it requires a minimum of calibre 0.8.57.

Some of kiwidude's collection of fine plugins have already started using this new facility and I've cribbed how to do the basic get/set/view settings functionality from him. It's pretty straightforward. Any bugs you find in FFDL are all on me, though.

Last edited by JimmXinu; 08-27-2012 at 04:02 PM. Reason: Remove obsolete beta versions
JimmXinu is offline