I am copying a

PM I had done offline to Kiwidude.
Storing settings with Library
Quote:
Originally Posted by kiwidude
Quote:
Originally Posted by theducks
What if]
The library contained hidden (wait, that is redundant, as we are not supposed to be there  ), for rebuild backup, settings folder.
The big question is how to manage per User settings and Per Library settings.
My 2p
(I kept this off the board as it could cause worms to escape  )
|
That is an interesting suggestion. Though you should just make it on the thread I put in the dev forum though  . Kovid's change he has just made will suffice for most of the plugins that come to mind, particularly since there is no per user settings (excepting Goodreads Sync which has a specific mechanism to support them).
It is however not the complete solution - cross library settings are not solved. And a user deleting/corrupting their metadata.db will lose their settings, which your suggestion could circumvent (though disk corruption could just happen in that folder too - just perhaps less likely given less access). Maybe Kovid could add to the metadata backup/restore mechanism to also backup the table that will contain this settings data to a file. Guess it depends on how likely it is that the metadata.db gets corrupted - in two years of calibre I have not once had cause to rebuild my database (and would go to a backup as a preferred choice) but plenty of people have done so it seems.
|