View Single Post
Old 04-22-2023, 08:20 PM   #4
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,881
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ownedbycats View Post
When editing the settings for book details, there's some additional entries that don't appear as part of the default columns, like formats and id.

Due to the names already being 'taken', I have to use slightly awkward custom column names like File Formats and Calibre ID to display in book list.
Prior to the advent of the calibre:// protocol I had no real need for visibility of the 'id' field.

Now I have a #book_row/Book # virtual column (template {id}) in all my libraries. To prevent me F2-ing into the template editor I flip the 'editable' BOOL in the database column definitions….

perhaps virtual columns could have a checkbox for flipping the editable bit, viz:

Click image for larger version

Name:	Screenshot 2023-04-23 093534.jpg
Views:	85
Size:	39.8 KB
ID:	201206

I'll let @chaley speak to the formats column. I will note that a record of what formats 'should' exist for each book is kept in the library database 'data' table Ψ³ IIRC this is the source of the approximate_formats() template function.

BR
BetterRed is offline   Reply With Quote