Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 04-01-2016, 06:06 AM   #1
chaley
Grumpy old git
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.
 
chaley's Avatar
 
Posts: 10,896
Karma: 4839799
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, 49317 views)

Last edited by chaley; 01-24-2022 at 12:10 PM.
chaley is offline   Reply With Quote
Old 07-30-2017, 01:43 PM   #2
chaley
Grumpy old git
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.
 
chaley's Avatar
 
Posts: 10,896
Karma: 4839799
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Version 2: change to update the column for a book only if the contents have changed. This avoids setting the last_modified date when nothing is different.
chaley is offline   Reply With Quote
Advert
Old 04-11-2020, 08:12 AM   #3
chaley
Grumpy old git
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.
 
chaley's Avatar
 
Posts: 10,896
Karma: 4839799
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Version 2.0.1: Python 3 compatibility
chaley is offline   Reply With Quote
Old 08-13-2022, 08:27 PM   #4
igorius
Connoisseur
igorius began at the beginning.
 
Posts: 90
Karma: 34
Join Date: Jun 2015
Device: ipad & inkpad X
I am using both plugins and they work nearly like i want it: Update when calibre quits or on change of library, or with the gui-plugin when a device disconnects.
So it would be extremely great if it would update the VL-column when a certain row changes (in my case tags)
So i use the gui-plugin by hand. By the way, it only updates the VL-column, when i close the gui-plugin manually... Is that behaviour "normal"
Thank you for your help!
PS: Which contents have to change to update the VL-column?

Last edited by igorius; 08-13-2022 at 08:30 PM. Reason: Adding PS
igorius is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Library Closed Plugin] Save Composite Custom Columns chaley Plugins 22 04-11-2020 08:09 AM
Column to show mags. that are NOT in any virtual Libraries Alaa Library Management 12 03-12-2017 08:14 PM
Custom Column to display Virtual Libraries thinkblot Library Management 2 12-28-2016 03:09 PM
Reading Lists plugin and Virtual Libraries dustyp Calibre 3 11-22-2014 06:21 AM
Custom column virtual library MerlinMama Library Management 3 11-04-2014 01:09 PM


All times are GMT -4. The time now is 02:49 AM.


MobileRead.com is a privately owned, operated and funded community.