Tweak: Sort Columns at Startup
So, first a little background information. I have my book libraries sorted into folders, based on a general Genre, rather than flood a single library with thousands of books.
Currently it looks like this:
K:\I - Main Library
..Calibre (the Calibre portable install folder, Calibre Library, Calibre Settings, etc)
..Section I - Science Fiction and Fantasy
..Section II - Romance
..Section III - Non-Fiction
..Section IV - Roleplaying
..Section V - Anime Novels
I chose to have these folders exist beside the Calibre one, rather than inside it. So when I go into Calibre, it generally starts up with the blank Calibre Library, but I can use the icon at the top to select whichever of those five libraries I want access to.
The problem I'm having, as the title hints at, is with the Tweak for sorting columns. I'm hoping there is a way around it.
Currently in tweaks, the option looks like this:
# Specify columns to sort the booklist by on startup
sort_columns_at_startup = [('series', 0), ('title', 0)]
Which I setup primarily for the Anime Novels library, in order to keep the books grouped by series, and then alphabetically by the title.
I was hoping that the tweak setting would be saved into one of the small files created by Calibre upon creation of the library. (Either metadata.db or metadata_db_prefs_backup.json)
However that wasn't the case, as I learned when I loaded up the Roleplaying library and found my books being sorted down by their series info, or lack thereof.
Is it possible to write it so the Column Sorting is done differently in each library?
|