I use Reading List and Calibre Companion (v5.4.4.19) to send the details of the books I want to read this year to my mobile. When reading a book in a series, I like to know whereabouts in the series the book fits, e.g. if I am reading The Head Case by Bill Rogers, I can tell it is book 2 in a series of 14 (see screenshot attached).
To do this I have created a custom column (Total Series) that I manually update with the number of the latest book I have in calibre. Whenever a new book in a series is released, I bulk edit all the books in that series. This then updates another custom column (Series Pos), which is sent to Calibre Companion.
However, I wonder if the Total Series column could be automatically populated by calibre, perhaps by using Template/Search Template or a plug-in. My knowledge of templates is basic at best and would appreciate some help on this.
I know calibre can already calculate the next index in a series when adding a new book and I have seen reference to “get_next_series_num_for” in the calibre support (
https://manual.calibre-ebook.com/db_api.html), but I cannot figure out how to call the code from a custom column.
Can anyone point me in the right direction, please?