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 07-11-2017, 05: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: 12,027
Karma: 7257323
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, 73605 views)

Last edited by chaley; 12-27-2020 at 07:19 AM.
chaley is offline   Reply With Quote
Old 07-30-2017, 01:44 PM   #2
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: 12,027
Karma: 7257323
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 07-31-2017, 12:34 PM   #3
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: 12,027
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Version 2.1: remove spurious error in a debug log about a missing icon

Last edited by chaley; 07-31-2017 at 12:37 PM.
chaley is offline   Reply With Quote
Old 08-09-2017, 12:08 PM   #4
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: 12,027
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Version 2.2

Version 2.2 - 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

Last edited by chaley; 08-12-2017 at 05:37 AM. Reason: Grammar
chaley is offline   Reply With Quote
Old 09-10-2017, 03:49 PM   #5
mohamedselim
Technophile
mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!
 
mohamedselim's Avatar
 
Posts: 31
Karma: 100000
Join Date: Jul 2011
Location: Cairo, Egypt
Device: Xiaomi redmi 5+ ,kindle Voyage etc
Could you please add functionality as new configuration option :
Check books in library every [box] minutes or hours, so everytime the books change virtual library via calibre companion update read status functions (yes,no), we do not have to go to computer and run the plugin (manually) to update the custom column with new read status function
The check will be done automatically in the background at intervals also if selected the message that appear after done changing won't appear
Thanks alot

Last edited by mohamedselim; 09-10-2017 at 03:51 PM.
mohamedselim is offline   Reply With Quote
Advert
Old 09-10-2017, 03:57 PM   #6
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: 12,027
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by mohamedselim View Post
Could you please add functionality as new configuration option :
Check books in library every [box] minutes or hours, so everytime the books change virtual library via calibre companion update read status functions (yes,no), we do not have to go to computer and run the plugin (manually) to update the custom column with new read status function
Thanks alot
I don't understand. When you connect using CC calibre must be running. You can run the GUI plugin at that time. You can also install the "library closed" plugin that runs when calibre exits. What scenario do you have that aren't covered by these two options?

I suspect that you have a permanently running calibre and that you are really asking that the plugin run when a device (CC) disconnects.
chaley is offline   Reply With Quote
Old 09-10-2017, 10:51 PM   #7
mohamedselim
Technophile
mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!mohamedselim rocks like Gibraltar!
 
mohamedselim's Avatar
 
Posts: 31
Karma: 100000
Join Date: Jul 2011
Location: Cairo, Egypt
Device: Xiaomi redmi 5+ ,kindle Voyage etc
Yes i have a permanently running calibre 24 hour in a desktop that i converted to nas box and calibre server and kodi box , did not wish to interfere manually to update the column, if their is any automatic way to do so, that would be great
mohamedselim is offline   Reply With Quote
Old 09-11-2017, 07:06 AM   #8
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: 12,027
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Version 2.2.1

Version 2.2.1 - 11 Sept 2017
  • Add an option to run the plugin whenever a device disconnects. This permits immediately accounting for virtual library changes caused by device syncing.
chaley is offline   Reply With Quote
Old 09-24-2017, 10:01 PM   #9
mariaclaudia
Groupie
mariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of lightmariaclaudia is a glorious beacon of light
 
Posts: 155
Karma: 12316
Join Date: Jul 2014
Device: none
Nice plugin, very usefull, because I use many virtual libraries, but don't put all visible. Thanks!!!
mariaclaudia is offline   Reply With Quote
Old 04-11-2020, 08:14 AM   #10
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: 12,027
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Version 2.2.2: Python 3 compatibility
chaley is offline   Reply With Quote
Old 12-27-2020, 06:19 AM   #11
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,521
Karma: 64500175
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is there any way to have it run silently without the "updated column" dialog? (I have the "run" action in few action chains that have the potential to change what VLs a book appears in.) Thank you.
ownedbycats is online now   Reply With Quote
Old 12-27-2020, 07:19 AM   #12
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: 12,027
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Is there any way to have it run silently without the "updated column" dialog? (I have the "run" action in few action chains that have the potential to change what VLs a book appears in.) Thank you.
Option added.
chaley is offline   Reply With Quote
Old 12-27-2020, 02:31 PM   #13
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,521
Karma: 64500175
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thank you!
ownedbycats is online now   Reply With Quote
Old 04-04-2021, 06:22 AM   #14
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,521
Karma: 64500175
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: with the improvements to virtual_libraries(), should this plugin be considered superceded?
ownedbycats is online now   Reply With Quote
Old 04-04-2021, 06:25 AM   #15
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: 12,027
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Question: with the improvements to virtual_libraries(), should this plugin be considered superceded?
No. It is useful in cases anywhere a 'real' column containing values is needed, for example by some third party app or a context where the template evaluator isn't available.

It is no longer needed if running calibre 5.14+ and the only reason you used it was the performance problem.
chaley 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
[GUI Plugin] Multi-Column Search DaltonST Plugins 328 08-01-2024 08:47 PM
[GUI Plugin] Save To Format SauliusP. Plugins 27 06-24-2023 05:38 PM
[Library Closed Plugin] Save Virtual Libraries To Column chaley Plugins 3 08-13-2022 08:27 PM
Small (-ish) GUI issues Virtual Libraries/Searches StillReading Calibre 9 10-09-2015 10:00 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 12:54 PM.


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