View Single Post
Old 03-13-2014, 08:58 PM   #435
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jgoguen View Post
What about using the serial number to distinguish multiple devices? Could allow for per-device "restore last good DB" too.
The Reading List plugin already does it somehow. I'll be looking at that. But, the serial number is probably the way to do it.

Two ways I can think of to use the serial number is create a sub-directory in the selected location that looks something like "modelname-serailnumber". Or adding that as a part of the file name. I want the model name in there as that makes it easy for the people with different devices.

I wasn't planning to add any restore code. The issue is that it would be replacing the database that calibre had read to get the book list. I don't to think about the bug report when someone restored a database and then did some actions that modified the database. They could still do this while calibre is running, but that is already out of my control. Adding something to display the last good DB with some instructions (starting with close calibre), might be the way to go.
davidfor is offline