![]() |
#1 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Purge PI Settings
AFAIK, there is no 'official way' to remove a plugin and its settings, when a plugin is removed its settings are left behind.
If I remove a PI that stores all of its settings in the config folder then I can delete it's settings file, so if I removed Extract ISBN then I would delete the Extract ISBN.json file from the config plugins folder. But some plugins store their settings in the library database files (some such the Reading List PI do both), The only way I know to get rid of the database settings is to
Restoring from backup isn't a solution, I haven't used the RL PI on this library for years. Does anyone know of an alternative? Or is this one of those TINA gotchas? ![]() Aside - there should be an option in the Remove PI function to delete settings, especially those kept in the databases. BR Last edited by BetterRed; 04-03-2016 at 10:15 PM. |
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,533
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I thought the button Clear found in the Customize Plugin / Other tab / View Library Preferences would drop the settings.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
A lot of kiwidudes plugins have a way to reset the preferences. Usually, it is available from a button in the plugins configuration dialog. For Reading List, open the configuration, go to the "Other" tab and press the "View library preferences..." button. This shows you all the preferences for the current library. Pressing the "Clear" will ask if you want to reset the preferences.
If you get desperate for plugins that don't have a reset option, you can delete the entries from the library database. Open it with an SQLite manager program and look in the table "preferences". The plugin settings should be in the rows where the "key" column starts with "namespaced:PluginName". For the Reading List, it is "namespaced:ReadingListPlugin:settings". Deleting these while calibre is not running should clear the settings. Last edited by davidfor; 04-03-2016 at 10:38 PM. Reason: Too slow! |
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Thanks guys
I've only ever noticed the Preferences button on View Manager. But it has no Clear button, so I've wondered 'what's the point of this, apart from debugging. If its easy, perhaps a Clear button could be added to it. In case I ever need it. Find Duplicates has a Clear. I had already removed the Reading List row in the preferences table exactly as you suggested David. I assume that's what Clear does. BR |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Purge stickies in the Lounge | issybird | Feedback | 1 | 07-10-2013 02:35 PM |
How to purge database? | calvin-c | Calibre | 0 | 08-19-2010 08:22 PM |