View Single Post
Old 07-11-2017, 04:56 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,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
[GUI Plugin] Save Virtual Libraries To Column (GUI)

For each book in the library, compute the list of virtual libraries containing that book then save that list to a custom column of type "comma-separated text, behaves like tags". This makes it easier to search for books in multiple virtual libraries or in no virtual library. It also makes the virtual library information available to devices that can read calibre custom columns, for example Calibre Companion.

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

Installation Steps:
  1. Download the attached zip file and install the plugin/restart Calibre/add to menu as described in the Introduction to plugins thread.
  2. You can define keyboard shortcuts for this plugin in calibre's Preferences / Shortcuts. Two are available: one to open the plugin's interface and one to directly run the plugin.
  3. Once the plugin is installed, run it and choose "configure". Select which custom column the plugin should modify. The column type must be "comma separated text, behaves like tags".

Version History:
Spoiler:

Version 2.3.0 - 27 Dec 2020
Add an option to not display the confirmation dialog after a run
Version 2.2.2 - 11 April 2020
Python 3 compatibility
Version 2.2.1 - 11 Sept 2017
Add an option to run the plugin whenever a device disconnects
Version 2.2.0 - 09 Aug 2017
Add support for an icon.
Make the PI functions available from a menu.
Get rid of the annoying screen flash when running the PI
Version 2.1.0 - 31 July 2017
Remove spurious error in the debug log about a missing icon
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 SaveVirtualLibrariesToColumnGUI.zip (30.5 KB, 57475 views)

Last edited by chaley; 12-27-2020 at 06:19 AM.
chaley is offline   Reply With Quote