|10-15-2012, 10:45 AM||#1|
Join Date: Sep 2012
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?
|10-15-2012, 10:52 AM||#2|
Well trained by Cats
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Tweaks are per user. You can find the (your settings) file in the Calibre Configuration directory.
You might be able to do some mumbling about with this, before starting Calibre
|10-15-2012, 11:01 AM||#3|
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@Coronach - if you use the View Manager plugin, you can make a default "view" for each library with a sort order, and set it to be automatically applied when that library is switched to.
|10-15-2012, 02:11 PM||#4|
Join Date: Sep 2012
Thanks a lot kiwidude, and you too, theducks.
I did have View Manager installed already, I just hadn't done much fiddling with it. I'm still in the process of getting Calibre all finely tuned and working. But VM works great for that sorting.
I set Roleplaying as Title (A-Z) and Anime Novels as Series (A-Z) / Title (A-Z) and it looks great.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|0.8.41 - New Category Tweak||nynaevelan||Calibre||4||02-25-2012 12:05 PM|
|Feature Request: 'Startup' Sort Button||MildBill||Calibre||2||05-14-2011 08:24 PM|
|FYI @Charles: article sort tweak and autosort/automerge||Starson17||Calibre||7||10-22-2010 07:55 AM|
|Article tweak for title sort not working||Manichean||Calibre||2||10-04-2010 11:56 AM|
|Sorting Tweak||atjnjk||Calibre||6||08-31-2010 06:36 AM|