Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-10-2025, 02:47 PM   #16
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,336
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
And for fun, here is an action chain that does the job using the above template. It sets the column #my_float to the highest series index for the book's series. Import the chain then change the Single Field Edit to use your column. There is probably a way to make it not flash the selection, but I'm not enough of an action chains guru to know what it is.

It isn't the fastest thing in the universe, but given it is run on demand I think it is good enough. It would be much faster if it used a "Python code" action that operated on all books in the library instead of book-by-book. This would also get rid of the flash. I leave that as an exercise for the reader.
Attached Files
File Type: zip action_chain_set_float_column_to_highest_series_index.zip (754 Bytes, 8 views)
chaley is offline   Reply With Quote
Old 05-10-2025, 02:58 PM   #17
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,336
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by DJH352 View Post
I added an empty book to the Jack Reacher series and calibre immediately populated the column for that book with the maximum index number. There was no lag (1,350 books)

After a re-start all books in the series were updated. When I deleted the empty book and restarted calibre, the field automatically updated again
You can avoid the restart by selecting any two (or more) books in the library, press E for "Edit metadata in bulk", then immediately pressing OK without changing anything. Your column will update in all the books.
chaley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Metadata tags for Series and Series Index? JohnStaats Sigil 16 03-04-2025 02:05 AM
how to view/filter library by series/series index masp Onyx Boox 5 02-04-2021 11:39 AM
How to change series index number format sent to device? Skydog Library Management 6 01-20-2020 10:21 PM
Series Index displayed as separate column from Series Vortex Library Management 3 03-15-2015 08:39 PM
Feature request: Ability to put a book in a series without an index number lunixer Calibre 6 08-29-2011 11:37 AM


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


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