View Single Post
Old 04-01-2016, 05:06 AM   #1
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
[Library Closed Plugin] Save Virtual Libraries To Column

When a library is closed (calibre exit or change library) this plugin examines every book in the library to determine which virtual libraries contain the book. The virtual library names for the book are written to a selected custom column, which must be of type "comma-separated text, behaves like tags".

Note: this plugin also exists as a "GUI Plugin". The two plugins share configuration information (the custom column to modify).

Special Notes:
  • Requires Calibre 2.54 or later

Configuration:
  • To choose which custom column for the library names, go to calibre's Preferences / Plugins / Library Closed plugins. Select this plugin, press the "Customize plugin" button, and fill in the box appropriately. Note that this plugin and is GUI sibling share the same configuration. Setting it in one plugin will also set it in the other.

Installation Notes:
  • Download the attached zip file and install the plugin/restart Calibre as described in the Introduction to plugins thread.
  • Note that this is not a GUI plugin so it is cannot be added to context menus/toolbars etc.

Version History:
Spoiler:

Version 2.0.1: (11/April/2020):
* Python 3 compatibility
* This version is compatible with calibre 6.
Version 2.0.0: (30/July/2017):
* Change plugin to update the column only if the information has changed.
Version 1.0.0: (11/July/2017):
* Initial release.
Attached Files
File Type: zip Save Virtual Libraries To Column.zip (3.7 KB, 71139 views)

Last edited by chaley; 01-24-2022 at 11:10 AM.
chaley is offline   Reply With Quote