View Single Post
Old 03-05-2026, 02:32 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,569
Karma: 62544528
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Mister L View Post
Thanks everyone for the help.

I have found the column, it is called "pages", my column is called "#pages".

My subtitle page count code looks like this, in the Calibre "Configure this device" dialogue (only available when the device is connected) and also in the Kobo Utilities plugin "Update metadata in Device Library" subtitle field :

Code:
program:
	if field('#pages') then
		 template('{#pages} pages')
		fi
Is there a way for my #pages column to just copy the number from Calibre's pages column, or is there a way to use the pages column instead of my #pages column in that code ? (I think no, because it needs the # to reference it, is that right ?) I'm using the ADE algorithm and it's pretty close to the Calibre count so that would be fine for my uses.

I checked in the plugin page if there are any plans to add the Calibre count in the plugin options but it does not seem to be the case.

If it's not possible, it's not the end of the world, this is just a reference for me so I have some idea if it's a "long" book or a "short" book, but I would prefer to have the same count since both are displayed next to each other.
Looks like you can use the Bulk mode Metadata edit Search and replace to copy from pages to #pages source
Attached Thumbnails
Click image for larger version

Name:	CopyPages.png
Views:	20
Size:	152.8 KB
ID:	221582  
theducks is offline   Reply With Quote