View Single Post
Old 01-27-2011, 08:30 PM   #1
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
[GUI Plugin] Quick Preferences

This plugin provides a way to quickly switch between certain preferences values without going into the preferences dialog. Specifically it currently caters for preferences related to adding books but could be added to in future if needed.

Many users like myself prefer to rename files to a single standard format before importing into Calibre. However this plugin gives you the option to quickly "switch on the fly" your settings without the drudgery of the Preferences dialog (and saving your regular expressions in Notepad!).

By default I have included two regex patterns - the default Calibre one, and a second for handling titles in "author [- optional series #] - title" format.

Main Features of v1.4.0:
  • Add to your toolbar a quick selection dropdown button rather than navigating through the Calibre Preferences dialog.
  • Store as many regular expressions file patterns as you wish
  • Optionally specify a pairing of the swap author name setting with your regular expression
  • Toggle the checked status of the three other options related to adding books that exist in the preferences dialog currently
  • Switch your automerge type
  • Customise which menu options are included on the dropdown
  • Customise keyboard shortcuts
  • Keeps in sync with changes made via the Preferences dialog

Special Notes:
  • Requires Calibre 0.8.18 or later.

Installation Notes:
  1. Download the attached zip file and install the plugin/restart Calibre/add to toolbar as described in the Introduction to plugins thread.
  2. Customise the regular expressions and menu options.

Paypal Donations:
  • If you find this or any of my other plugins useful please feel free to show your appreciation. I have spent many hundreds of unpaid hours in their development and support so any encouragement for me to continue is appreciated!

Version History:
Spoiler:
Version 1.4.0 - 11 Sep 2011
Upgrade to support the centralised keyboard shortcut management in Calibre

Version 1.3.1 - 09 Apr 2011
Support skinning of icons by putting them in a plugin name subfolder of local resources/images
Fix bug of NoneType error when add new row, move it and not specifying a shortcut

Version 1.3 - 08 Apr 2011
Rewrite config UI to support any number of regex file patterns, added via a grid.
Optional pairing of author name swap parameter with a regex pattern

Version 1.2 - 03 Apr 2011
Rewrite for new plugin infrastructure in Calibre 0.7.53
Add a Customize Plugin menu option
Rename menu items and preferences to match new Automerge name
Add submenu for quickly switching automerge type

Version 1.1 - 28 Jan 2011
Improve tracking of when to rebuild menu actions
Ensure keyboard shortcuts always hooked on startup

Version 1.0 - 02 Jan 2011
Initial release of Quick Preferences plugin
Attached Thumbnails
Click image for larger version

Name:	Screenshot_1_Toolbar.png
Views:	925
Size:	44.3 KB
ID:	65628   Click image for larger version

Name:	Screenshot_2_Customise.png
Views:	703
Size:	41.7 KB
ID:	65629  
Attached Files
File Type: zip Quick Preferences.zip (63.8 KB, 32382 views)

Last edited by kiwidude; 09-11-2011 at 09:05 AM. Reason: v1.4.0 Released
kiwidude is offline   Reply With Quote