Thread: Library names
View Single Post
Old 02-27-2011, 03:22 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
If you want to store per library settings, you should store the settings in the library. Use the interface in database2 for storing plugin settings.
Are you saying that plugins should put configuration information in db.prefs? It would seem that that would lead to accumulation of cruft and potential uninstall problems.

That aside, it might be a good idea to have a library UUID. Such a thing would help validation of persistent caches, and could be useful in the face of library renames verifying which operations have been done to which libraries. It is true that copying a library outside of calibre would duplicate UUIDs, but as it would duplicate anything else, I don't see that as a deal-breaker.
chaley is offline   Reply With Quote