Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2025, 12:42 PM   #1
hd_cal_dave
Enthusiast
hd_cal_dave has a complete set of Star Wars action figures.hd_cal_dave has a complete set of Star Wars action figures.hd_cal_dave has a complete set of Star Wars action figures.hd_cal_dave has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 366
Join Date: May 2012
Device: Android
Display Book UUID in Calibre?

Is there a way I can add a custom column within the Calibre UI that will show the unique UUID associated for each book? This value is inside the opf files:

<dc:identifier opf:scheme="uuid" id="uuid_id">2496fc3d-7415-484c-9a32-b4333c63d901</dc:identifier>
hd_cal_dave is offline   Reply With Quote
Old 04-19-2025, 06:32 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by hd_cal_dave View Post
Is there a way I can add a custom column within the Calibre UI that will show the unique UUID associated for each book? This value is inside the opf files:

<dc:identifier opf:scheme="uuid" id="uuid_id">2496fc3d-7415-484c-9a32-b4333c63d901</dc:identifier>
No need for a custom column, it can be shown in Book details:

Click image for larger version

Name:	Screenshot 2025-04-20 082735.jpg
Views:	75
Size:	421.2 KB
ID:	215129

BR
BetterRed is online now   Reply With Quote
Advert
Old 04-21-2025, 01:18 AM   #3
hd_cal_dave
Enthusiast
hd_cal_dave has a complete set of Star Wars action figures.hd_cal_dave has a complete set of Star Wars action figures.hd_cal_dave has a complete set of Star Wars action figures.hd_cal_dave has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 366
Join Date: May 2012
Device: Android
Thank you - that is very helpful. Any way to add it as a column or be able to search for it?
hd_cal_dave is offline   Reply With Quote
Old 04-21-2025, 01:54 AM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,155
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Out of curiosity, why are you interested in displaying the UUID? It is rather useless since it is randomly generated and can easily be modified. Some ePubs use the GUID pattern for the ID (which seems to be the one you are interested in) and yet others use an alphanumeric string of varying length.

Last edited by DNSB; 04-21-2025 at 01:57 AM.
DNSB is offline   Reply With Quote
Old 04-21-2025, 03:26 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by hd_cal_dave View Post
Thank you - that is very helpful. Any way to add it as a column or be able to search for it?
It is a column, in the sense that's its a field in the books table, like the title, publisher, modified_date etc.

It is created and managed by calibre for its internal use - my understanding is that it plays a role in getting 'books' and associated metadata onto some e-reading devices. If you want to see it in the book list you will have to use a composite column, viz:

Click image for larger version

Name:	Screenshot 2025-04-21 165902.jpg
Views:	33
Size:	316.8 KB
ID:	215164

The 'uuid' should not to be confused with 'id' which is the book table primary key (generically referred to as row-id), or with the 'identifiers' data -- which is a data structure containing multiple elements such as ISBN, Amazon, Google, Kobo etc product codes.

BR
BetterRed is online now   Reply With Quote
Advert
Old 04-21-2025, 11:36 AM   #6
hd_cal_dave
Enthusiast
hd_cal_dave has a complete set of Star Wars action figures.hd_cal_dave has a complete set of Star Wars action figures.hd_cal_dave has a complete set of Star Wars action figures.hd_cal_dave has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 366
Join Date: May 2012
Device: Android
Quote:
Originally Posted by DNSB View Post
Out of curiosity, why are you interested in displaying the UUID? It is rather useless since it is randomly generated and can easily be modified. Some ePubs use the GUID pattern for the ID (which seems to be the one you are interested in) and yet others use an alphanumeric string of varying length.
It's a bit of a long story. I use MoonReader on my devices and want to share reading position and annotations between devices. To do this, the book file has to always have the exact same name. The only way I have found to do this reliably is to use Calibre Companion and have the mobile book files named after the UUID. In this way, if the title or authors were to get tweaked I wouldn't lose my annotations. It works great, but now I have directories full of files named after the Calibre's UUIDS. I am in the process of repairing several years worth of messed up entries and it is not easy to find out which Calibre book corresponds to which UUID.
hd_cal_dave is offline   Reply With Quote
Old 04-21-2025, 07:38 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
FWIW: If you create a CSV catalogue you can select the UUID field

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader to Calibre wireless connection, error about UUID lightmaster Devices 3 07-26-2024 08:19 PM
Calibre Links, library_id, UUID, and Duplicates DaltonST Development 6 12-09-2020 04:12 PM
How to get the uuid of the book in the code of the gui plugin? esvorontsov Development 3 09-29-2015 11:15 AM
Resync UUID for a book iplers Amazon Kindle 0 09-23-2014 09:03 AM
how to display book's id in Calibre GUI? jokermania Calibre 1 12-22-2011 04:36 AM


All times are GMT -4. The time now is 01:08 AM.


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