View Single Post
Old 03-19-2011, 07:49 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,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
[GUI Plugin] Temp Marker

This plugin makes use of a feature introduced in Calibre 0.7.49 of allowing books to be temporarily marked using some criteria and then displayed with a search of marked:true. This feature is extensively used by the Quality Check plugin.

This plugin exposes the same functionality for end-users, to allow you to arbitrarily select books from your library under some criteria, without the "permanence" of applying tags or custom column values. For instance you may be selecting individual books that need editing or you wish to save to disk/send to device, but not actually perform the action straight away. Via a right-click menu or toolbar button you can add books to the marked list, and display as a search result at any time.

The marked list is cleared either by you selecting the Clear all marked menu item or as soon as Calibre is restarted, whichever comes first.

Credit for the plugin idea belongs to nickdma, and chaley/Kovid for adding the marked feature.

Main Features of v1.2.2:
  • Add/remove selected books to the marked list
  • Add/remove books by the selected author(s) to the marked list
  • Add/remove books by the selected series to the marked list
  • Display the marked list
  • Clear the marked list
  • Customise with optional keyboard shortcuts
  • Click on the toolbar button as an alternative to add to the marked list
  • Ctrl+click or Shift+Click on the toolbar button as an alternative to display the marked list

Special Notes:
  • Requires Calibre v0.8.18 or later.

Installation Steps:
  1. Download the attached zip file and install the plugin/add to context menu or toolbar/restart Calibre as described in the Introduction to plugins thread.

Usage:
  1. Select the book(s) you wish to temporarily mark for attention
  2. Click on the toolbar button or menu of Mark selected to add to the marked list
  3. At any point, Ctrl+click on the toolbar button or click the menu of Show marked to display all the books you have on the list currently
  4. Click on the Clear marked menu item (or restart Calibre) to clear the list and start again.

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.2.2 - 15 Apr 2013
Add ability to mark/unmark all books by selected author(s) or series (contribution by barny)
When switching libraries, ensure keyboard shortcuts are reactivated
Prevent plugin being used in Device View or on Device View context menu

Version 1.2.1 - 13 Sep 2011
Fix for keyboard shortcuts, to ensure unique name stays same when number of items on list changes.

Version 1.2.0 - 11 Sep 2011
Upgrade to support the centralised keyboard shortcut management in Calibre

Version 1.1.2 - 30 Jul 2011
Display the number of items currently on the list in the "Show marked" menu item

Version 1.1.1 - 09 Apr 2011
Support skinning of icons by putting them in a plugin name subfolder of local resources/images

Version 1.1 - 03 Apr 2011
Rewritten for new plugin infrastructure in Calibre 0.7.53

Version 1.0 - 20 Mar 2011
Initial release of Temp Marker plugin
Attached Thumbnails
Click image for larger version

Name:	Screenshot_1_Toolbar.png
Views:	328
Size:	9.0 KB
ID:	68630   Click image for larger version

Name:	Screenshot_2_Configuration.png
Views:	235
Size:	14.2 KB
ID:	68631  
Attached Files
File Type: zip Temp Marker.zip (44.2 KB, 24115 views)

Last edited by kiwidude; 04-15-2013 at 12:42 PM. Reason: v1.2.2 Released
kiwidude is offline   Reply With Quote