Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 03-07-2011, 08:28 AM   #46
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
The library_uuid and device_uuid are working well. Thanks

At the moment I'm storing the configuration values under the key "library_uuid/device_uuid". I've considered using library_uuid: { device_uuid: values } but its easier to work with just one key when reading/writing the configuration data.
meme is offline   Reply With Quote
Old 03-07-2011, 09:32 AM   #47
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,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by meme View Post
At the moment I'm storing the configuration values under the key "library_uuid/device_uuid". I've considered using library_uuid: { device_uuid: values } but its easier to work with just one key when reading/writing the configuration data.
Why? Aren't you using JSON? If so, it handles dicts of dicts perfectly well.
chaley is offline   Reply With Quote
Old 03-07-2011, 01:30 PM   #48
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Well, it was simple to add to the current code. But since I didn't really like it that way either, I've redone the code to support nested settings - it needed a cleanup anyway.
meme is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you pick names? AgentBEATS Writers' Corner 32 02-22-2011 10:03 AM
Confused about names shinnosuke BeBook 8 04-24-2010 11:33 AM
Publisher's Names emonti8384 General Discussions 10 04-05-2010 12:05 AM
Author names superplinio Calibre 6 02-27-2010 04:58 AM
Help me out with a couple of names ardeegee Lounge 12 09-27-2009 03:41 AM


All times are GMT -4. The time now is 04:11 PM.


MobileRead.com is a privately owned, operated and funded community.