View Single Post
Old 06-30-2012, 06:51 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: 12,471
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by plib View Post
Do you happen to know what the UUID is tied to? Book, machine, user? Would the same book in different libraries on a network have the same or different UUIDs?
Looking at the code ...

The UUID is assigned when a book is added to a library (when a new row is added to calibre's database). It is preserved when a book is moved to another library (copy with delete), but regenerated when a book is copied to another library.

Note that the UUID inside the book (e.g., in the OPF inside an ePub) is not changed when a book is added to a library. The value is changed to the value in calibre's database in the resulting copy when the book is converted, assuming that the target format contains a UUID.
chaley is offline   Reply With Quote