View Single Post
Old 06-18-2013, 07:13 AM   #14
hakan42
Zealot
hakan42 is on a distinguished road
 
hakan42's Avatar
 
Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
Quote:
Originally Posted by kovidgoyal View Post
I would recommend against storing gigantic chunks of data in sqlite, instead use the plugins config folder for that. Also the only reason to store something in the database is if it is library psecific, otherwise use the config folder.
Actually, my use case asks for shared data. During the daylight hours, I am using calibre on my laptop, doing all the things one does with it. My OPDS client can (optionally, of course) download new episodes by invoking it with "--run-plugin" from cron on my basement Linux server. Both installations share the same library, but not necessarily the same plugins config directory.

Quote:
Originally Posted by kovidgoyal View Post
That said, storing a few MB in the db should not cause any problems.
I will try to keep my data below 10 - 15 kb, this should not hurt too much
hakan42 is offline   Reply With Quote