View Single Post
Old 06-05-2021, 12:19 AM   #1
Bradles
Zealot
Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.
 
Bradles's Avatar
 
Posts: 112
Karma: 35586
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
Some calibre interface tweaks...

Described here are three minor tweaks I did to the calibre interface, simply to get things just the way I like them. They may be useful to others. These should all work on a stock standard installation of calibre (although I am running from source).

"Author(s)" instead of "Authors": Since the vast majority of my books have only one author, I wanted to display the column header / book info label like this. Ditto for "Formats" and "IDs". It was accomplished by editing a translations template (*.po) file and setting the CALIBRE_TEST_TRANSLATION environment variable. (See calibre's "Get involved" page for how to use translations.)

Display format for Series: I wanted the Series to display as "We Are Bob (1)" (for example) in the book details panel, rather than "1 of We Are Bob". I wanted to keep the ability to click on the series to search for all books in the series. This was accomplished with a custom column (see attached image) using a template:

Code:
program:
    s = field('series');
    if s then
        strcat('<a href="calibre://search/Calibre_Library?q=series:', s , '" title="Click to search for all books from the same Series"><i>', strcat(field('series'), ' (', field('series_index'), ')</i>'), '</a>')
    fi;
It's a bit slower to search than the standard series column, but it works well enough.

Scroll book details: I'm a bit of a keyboard shortcut fanatic, so I created a plug-in to scroll the book details panel in response to the space bar (or any other key). See the Scroll Book Details plugin page if you're interested.
Attached Thumbnails
Click image for larger version

Name:	Calibre Customisations.png
Views:	186
Size:	374.8 KB
ID:	187494   Click image for larger version

Name:	Series (N) Column.png
Views:	196
Size:	74.4 KB
ID:	187495  

Last edited by Bradles; 06-05-2021 at 10:19 PM. Reason: reference plugin page
Bradles is offline   Reply With Quote