08-21-2018, 02:20 PM | #1 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
[GUI Plugin] CalibreSpy
[GUI Plugin] CalibreSpy
Summary:
Multiple Users Simultaneously: Spoiler:
Documentation:
Requires Calibre Version: 6.0.0 Version History: Spoiler:
Last edited by DaltonST; 04-02-2023 at 12:15 AM. Reason: Version 1.0.92 |
08-21-2018, 02:20 PM | #2 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Reserved for future use.
|
Advert | |
|
08-21-2018, 06:16 PM | #3 |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Should the second Book Other Program Path be Book Other Program Icon Path?
Currently I run multiple version 2 calibre servers to achieve a similar result. It works but having and running multiple versions of calibre is something I'd rather not do, and I really don't like browser based applications. But, I need to have multiple calibre libraries open simultaneously with the Library Management (LM) program (calibre.exe), except the one that it has open. I appreciate there'd be an issue if the LM switched to another library - maybe that could be disabled if CalibreSpy was active. Is that something you'd consider? And if so, would it be feasible to display additional columns. And a word of thanks for providing yet another innovative and useful addition to calibre. BR |
08-21-2018, 07:04 PM | #4 | |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Glitches Series index is 1.0 when there's no value in series column. Series count is 2 (under series selector) when there are no series in the entire library. The Book Path column header has no right edge vertical line, so it looks like it can't be stretched, but it can if you get the mouse over the invisible line Suggestions Make the config settings per library rather than global. Add a Configure button to the CalibreSpy Book list window. BR Last edited by BetterRed; 08-21-2018 at 07:55 PM. |
|
08-21-2018, 09:55 PM | #5 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
CalibreSpy tells you what metadata.db says. Series Index is 1.0 in table Books as a default, so that is why you see 1.0.
All books without a series are assigned a series of "" (Null or None are too ugly) so they can be easily filtered upon and the table sorted quickly. I guess I could change the Series Index to "0.0" for those rows, but the sort sequence would change if a "" were used, as numbers sort before empty strings. The counts are the counts of the choices in the Filter ComboBoxes, as the label says: "choices: 2". Series Filter Count is 2 because there are 2 choices: Series-Any/All and "", meaning no series. CalibreSpy does not do any searches, but rather does only filtering. Regarding global preferences, having them by metadata.db rather than globally would add some to the startup time, which I have optimized to be as fast as it is now. I guess I can make that decision a global preference, so if you do not want to wait for it on tiny tablets that have little juice to begin with, you won't have to. Personally, I would never use that functionality, which is why CalibreSpy does not have it, as I originally conceived it to solve my own issue with using the GUI on my 8" Win10 Tablet. As with all of my plugins excluding Zotero Metadata Importer (which I originally wrote as a favor, since I don't use Zotero (such software didn't exist back when I could have really used it), I originally wrote them for their primary user: me. As for adding "new" columns, I was waiting for that. Again, startup time will increase depending on quantity of new columns and the datatypes (normalized custom columns with 2 tables that must be joined are much slower than unnormalized ones with only 1 table to load). Also, loading "comments" that are data-length-long translates to using much more bandwidth to load the data, translating into potentially much longer startup times. That would have to be a per-metadata.db choice, which is another reason CalibreSpy 1.0 does not have that functionality (all choices are global in 1.0). Your comments about disabling Quick Switches in the GUI if CalibreSpy is running are confusing to me. CalibreSpy is meant to be run via a command file so it is entirely independent of the GUI. If the ability to run CS from the GUI is enabled by a user, then that instance of CS would die as soon as the GUI shuts down. Also, multiple instances of CS cannot be run simultaneously from the GUI. Another reason to use the command file. DaltonST |
Advert | |
|
08-22-2018, 02:00 AM | #6 | ||||
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
I can work around this issue via the Open Path feature Quote:
Quote:
Maybe I have misunderstood something fundamental, so: Can one run the GUI simultaneously with multiple command line initiated instances of CalibreSpy? I understood one couldn't, but I haven't tried. Any reason why you couldn't use the font set in Preferences->Look and Feel Added: The Tooltip for the Exit button states - Save current CalibreSpy window settings and then exit. - that does not seem to include the column width settings BR Last edited by BetterRed; 08-22-2018 at 02:31 AM. |
||||
08-22-2018, 06:50 AM | #7 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Quote:
If 100% of the Series column values in the matrix are empty, I will hide that column plus Series Index automatically. Also the Series Filter combobox. Adding the other Standard Columns excluding comments is reasonable, although Tags will add some to the startup time since that is not a normalized item. I will enhance the Preferences to allow each user to decide on a global basis. DaltonST |
|
08-22-2018, 07:28 AM | #8 | ||
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
Speaking for myself: I would rank my outstanding 'issues' as follows - but no hurry or expectations #1 Additional standard columns #2 Per library programs paths #3 column width saving #4 hide empty series Thanks again BR Last edited by BetterRed; 08-22-2018 at 07:32 AM. |
||
08-22-2018, 09:13 AM | #9 |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
If I use the Open Path option, the book folder opens in File Explorer, so far so good.
If I select and double click (or hit return) on any file I'm thrown back to CalibreSpy, rather than the default handler for the file type kicking in. If I use the File Explorer->Open context menu option the file is opened by the default handler. BR |
08-22-2018, 05:53 PM | #10 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
ersion 1.0.1 - 22 Aug 2018
Version 1.0.1 - 22 Aug 2018 Added option to load Tags, Publisher, Languages, Date, Date Modified. New Filter by Tags. New Context Menu actions. Miscellaneous other enhancements.
An image is attached to the Original Post showing in yellow what has changed since Version 1.0.0. The next version will pick up with any issues reported today (my today), such as one about Open Path. DaltonST |
08-22-2018, 08:04 PM | #11 |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Looks good - I am out for most of my day, so it'll be a while before I can have a look at new version.
Suggestion, provide a Copy Metadata (Ctrl+C) feature that is conformant with the one in the calibre itself, this would enable copying of metadata from Book One in Library Alpha to Book Two in Library Beta (or Alpha even). Would need to honour the Exclude fields when copy/pasting metadata Tweak. BR |
08-23-2018, 12:53 AM | #12 | |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Three issues: 1. It doesn't seem to be using the font from Preferences->Look and Feel, viz: 2. There is no selector for Publisher 3. Would be good if the columns could be moved, either by dragging the headers, or via an up/down list Preferences - or both BR |
|
08-23-2018, 01:46 PM | #13 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.2
Version 1.0.2 - 23 Aug 2018 New Filter by Publisher. New Context Menu actions. Miscellaneous other enhancements and technical changes.
A new image was uploaded to the OP. Still in work: some things that BR has requested but have not yet been implemented. Next release(s). DaltonST |
08-23-2018, 02:12 PM | #14 |
Guru
Posts: 782
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
|
If user never changed font in Calibre > Preferences > Look & Feel then in gui.json not exist "font" section.
Spoiler:
This code works (tested in Windows only): Spoiler:
Additional question on the screenshot. Last edited by BeckyEbook; 08-23-2018 at 03:35 PM. |
08-23-2018, 05:54 PM | #15 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Answer: CalbreSpy always tries to use Calibre's global Preferred Output Format if such a format exists; otherwise, it uses the first available format it finds. Calibre > Preferences > Behavior. Code:
from calibre.utils.config import prefs as mainprefs DEFAULT_BOOK_FORMAT = mainprefs.get('output_format') DaltonST |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] FanFicFare | JimmXinu | Plugins | 10080 | 11-02-2024 04:49 PM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 495 | 10-19-2024 07:06 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 01:48 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |