Thread: JSON vs SQLITE
View Single Post
Old 03-17-2026, 10:23 PM   #12
varia
Connoisseur
varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'varia can spell AND pronounce 'liseuse.'
 
varia's Avatar
 
Posts: 57
Karma: 39844
Join Date: Jan 2026
Device: Samsung Galaxy Tab S10 Lite
Quote:
Originally Posted by BetterRed View Post
Safe from what?
Big shrug on that one. Have no idea if a database situated in x or y folder can risk corruption from who knows what. I'm no programmer so I don't know what's the best practice. Personally I save no files to my C drive, only installed programs. Everything goes to partitions.

Ahh, yes, my plugins/ folder is a fright. It is mayhem in there. With this plugin I am working on, I am trying to keep things contained in one folder. A set standard would help to keep things organized.

Quote:
Originally Posted by theducks View Post
Something to consider
Does this DB need to be PER LIBRARY?
Some PI have generic settings in the Config folder and others become part of the DB because of the nature of custom columns makes the data only relevant to a specific library.
I am moving away from custom columns. I don't have an issue with them per se, but from observation it seems to be the most hated feature in Calibre plugins. My preference is for data, config, and settings files to all remain in the tracker folder, and not in multiple places. If worst comes to worst, a user would then be able to copy the folder with all plugin files in one go. I haven't explored multi-library setups yet to know how plugins work in those cases.
varia is offline   Reply With Quote