![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2012
Device: none
|
identifying Calibre books
I would like to have an unique number that identifies the book object, rather than relying on title or author that can change.
I found the calibre_id, but not sure this id will survice database replication, splitting and merging. This one seems not to fullful my requirements. There is also a UUID in the OPF file, but I couildn't find any information who issues this UUID and when. Maybe I could use this one. Can anyone tell me: is the UUID always generated when a book is created ? is the UUID never changed ? Is the OPF file always present ? thnaks , Basilicum |
![]() |
![]() |
![]() |
#2 | |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Quote:
If you copy a book from a source Library to target Library using Calibre's "Copy", the copied book acquires both a new book ID and a new UUID in the target Library. If you split each chapter of an epub into its own epub, then each new epub would have both its own ID and UUID. If you use your OS file manager to replicate an entire Library, including its metadata.db and all of its subordinate folders, then that "new" Library is just a clone, and nothing will change until you use Calibre to change the books within the cloned Library. The .opf files may or may not be present, and may or may not be "current". That totally depends on how long you leave Calibre running so it can automatically back up any changed metadata to the .opf file for each book that was changed. If you delete them, then obviously they will not exist. You can quickly refresh en masse all .opf files for a particular Library using the calibredb utility. Refer to the online user manual for calibredb. If a standard Identifier such as ISBN does not work for you, perhaps your own new personal UUID-like value in a Custom Column might work except for possibly when you "merge" books and the source and target books have different personal identifiers. You control that. You would also have to ensure that your personal Custom Column exists in all of your Libraries so a book's identifying value is not "lost" when copying or moving. DaltonST Last edited by DaltonST; 12-25-2017 at 10:48 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,339
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
uuids are never changes, unless you copy a book from one library to another, in which case the book copy gets a new uuid. IIRC even doing a database rebuild will preserve uuids. And OPF files are a backup mechanism, theya re auto-generated by calibre for each book record some time after the metadata for theat book is changed.
|
![]() |
![]() |
![]() |
Tags |
calibre, identifiers, uuid |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Identifying epub books with large file splits? | mcgarvan | Conversion | 6 | 07-22-2016 05:59 AM |
Identifying kindle books | jaydusold | Conversion | 2 | 01-02-2013 09:25 AM |
Vox Identifying books that have been read | robroy9876 | Kobo Tablets | 3 | 10-15-2012 05:33 AM |
Help identifying this tablet. | dwoolley | Android Devices | 33 | 11-28-2011 11:35 AM |
Identifying PID | f64club | Kindle Formats | 15 | 06-22-2009 12:10 PM |