View Single Post
Old 12-06-2020, 06:07 PM   #203
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,825
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DaltonST View Post
To clarify, are you requesting CalibreSpy to support "The calibre:// URL scheme" as defined in https://manual.calibre-ebook.com/url_scheme.html ?
Yes, but read last para.

Quote:
Originally Posted by DaltonST View Post
If so, that is a big ask, since CalibreSpy does not use Calibre's gui or guidb or gprefs or server or any other "live" part of Calibre.

CalibreSpy is explicitly designed to run when Calibre is not running at all, anywhere, in any way, since CalibreSpy was intended to be run from a .bat file multiple times simultaneously using only Calibre's metadata.db as a stand-alone SQLite database.
When I add books to my Intake library, I also run CalibreSpy against my target libraries, Books, Journals, and Media, via a batch script. This allows me to examine any books that Find Duplicates->Find library duplicates reports as duplicates. Been doing it since soon after you released CalibreSpy with no ill-effects. Far better than fart-arseing around with calibre-server and a browser.

Quote:
Originally Posted by DaltonST View Post
Could you clarify your request, and explain exactly how and when you would theoretically use what was copied to the OS clipboard from CalibreSpy?
Sure.

Background:

You might recall that want to keep extra data about 'entities' related to 'book' metadata - such as authors, publishers, tags even. I tried using the Entities Manager plugin for a but it really didn't suit my style of working.

For Authors I have been pasting Evernote Note links into the Link field in Manage Authors, that allows me to click an Author name in the book details panel and view what I have for that author in my EN Authors notebook (obits, bio, web sites etc). But I had no easy way to do the reverse, i.e see a list of books I had for that author - I had a kludgey scheme of using calibre-server for a while, but like most kludges it was a PITA to maintain, and it was 'tied' to the version 2 read only server.

A week or so after Kovid implemented the calibre:// URI protocol handler, Evernote published a major new version - a 'feature' of which is to end support for local notebooks and force everything into their cloud - grrrh.

So I exported my Author Notes from Evernote into MHT 'files' and used them to create entries in an Authors library - one 'book' per Author.

In my content libraries (Books, Journals, Media) I have replaced the evernote://blah-blah links in Manage Authors with calibre://show-book links to the relevant record in my Authors library, and in the Authors library I have put a calibre://search/ link into the Manage Author link fields.

The easiest way to get the calibre://blah-blah links is to use the "Copy link to book" options Kovid has added to the Authors context menu in Book Details, viz:

Click image for larger version

Name:	Screenshot 2020-12-07 084939.jpg
Views:	625
Size:	95.3 KB
ID:	183824

These options yield the following
Code:
calibre://show-book/_hex_-54657374/457
calibre://search/_hex_-54657374?eq=617574686f72733a223d416e6e6520646520436f7572637922
So, what I was looking for is a "Copy Calibre links" item in CalibreSpy's context menu, with "Show Book" and "Search for <author name>" options.

But I've done what I needed to do for the 1800+ authors I have by switching back and forth between my content and Authors libraries, it wasn't as tedious as I had anticipated. So if adding the extra items to CalibreSpy's context menu presents a challenge I won't be bothered too much.

Stay Safe - BR

Aside: Rather maintaining the MHT files in Word I am moving the content into calibre custom columns - now that is tedious.

PS: if you can think of a way to add a "Link" field to the other "Manageable" column types without major database surgery that would be no bad thing

Last edited by BetterRed; 12-07-2020 at 04:02 PM. Reason: grammar
BetterRed is offline   Reply With Quote