02-18-2021, 12:33 AM | #1 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
LibraryThing Match plugin - beta testers wanted
Note: This thread will soon be closed to further comments. Please refer to the main thread at :
[GUI Plugin] LibraryThing Match Are you a calibre user who also uses LibraryThing? Or a LibraryThing user who also uses calibre? If so, I've got a little job for you... LibraryThing is a social cataloging web application for storing and sharing book catalogs and various types of book metadata. It is used by authors, individuals, libraries, and publishers. LibraryThing Match (LTMatch) is a calibre plug-in for comparing your calibre e-book list with your LibraryThing catalog. If you'd like to test LTMatch, please install it manually by downloading the attached zip file, and installing as described in "How do I install a plugin manually?" in the Introduction to plugins thread. LTMatch can be run in "non-invasive" mode, i.e. without modifying the calibre database in any way. For best results, it can be used with a custom column as described in the attached user guide. Of particular interest during testing is the "first run" experience, performance with large libraries, and behaviour on non-windows systems. Thanks and good luck! Last edited by Bradles; 03-18-2021 at 11:21 PM. Reason: Added link to main thread. Removed user guide and plugin attachments. |
02-18-2021, 07:13 AM | #2 |
Enthusiast
Posts: 29
Karma: 98
Join Date: Dec 2013
Device: Kobo Aura
|
I was very excited by the proposition, but unfortunately I am not yet ready to upgrade to Calibre 5. Does your plugin actually rely on Python 3 elements, or Calibre 5-specific features? Or did you simply choose a requirement that is not unreasonable but might not be not be necessary? That would be perfectly understandable, I'm asking in order to decide whether I will try to tinker with the code and make the check more permissive :-)
|
Advert | |
|
02-18-2021, 09:24 AM | #3 | |
Resident Curmudgeon
Posts: 76,402
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-18-2021, 12:17 PM | #4 | |
Enthusiast
Posts: 29
Karma: 98
Join Date: Dec 2013
Device: Kobo Aura
|
A certain plugin that may not be discussed in depth here isn't quite reliable enough for my taste in its Calibre 5-compatible version. It's getting there, but I'm not yet ready to jump.
Quote:
|
|
02-18-2021, 02:07 PM | #5 |
Connoisseur
Posts: 66
Karma: 10
Join Date: May 2014
Location: Iowa
Device: Kobo Glo HD, Kobo Forma, Kindle Paperwhite 3
|
I am a longtime user of Library Thing and would love to help test this but I cannot upgrade to 5.x Calibre on my iMac due to plug-in incompatibility issues. If you ever figure out a way to make it work with older versions of Calibre, let me know!
|
Advert | |
|
02-18-2021, 03:10 PM | #6 | |
Resident Curmudgeon
Posts: 76,402
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So make a backup of your current configuration, save your keys from DeDRM and then upgrade both Calibre and DeDRM.If DeDRM is not working, delete the .jason file and reload all the keys and you'll be good to go. It's that easy. |
|
02-18-2021, 03:37 PM | #7 | |
Enthusiast
Posts: 29
Karma: 98
Join Date: Dec 2013
Device: Kobo Aura
|
Quote:
Now here I am seeing a plugin that looks interesting to me, I'm observing that it requires Calibre >= 5.0.0, and I'm just curious on the strength of this requirement. Not disappointed, not frustrated, just curious. I don't mean that it needs to be 4.X-compatible, I'm just interested in testing that possibility. And apparently it will take more than a single code change, as far as I can tell from my first quick test. Not a huge problem, but perhaps a fun challenge. And now, returning to the original topic: kudos to Bradles for the cool idea, obviously! Last edited by aborel; 02-18-2021 at 03:44 PM. |
|
02-18-2021, 06:57 PM | #8 | |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Quote:
To answer your question, I would say it requires Python 3 / calibre 5. Why? Well, I'm a very inexperienced python developer, so I had to look up nearly EVERYTHING! Where there was a choice how to do something, I usually chose the python 3 version. Examples:
I suspect it would be quite difficult to unpack. (I did a quick test with 4.23.) I hesitated to upgrade to 5 as well. I eventually concluded that a certain plugin would NEVER be finished, so the parts that were working were good enough for me. IMO the suggestion of upgrading to 5 and keeping a portable 4 "for emergencies" is the way to go. |
|
02-18-2021, 10:05 PM | #9 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Having a quick look at the first post, is there any reason you are not using an identifier and a metadata source plugin? This would tie into the metadata download process and set the identifier for the book. You then have the LibraryThing listed in the details pane and can click to view the page.
You would need a separate plugin to update LibraryThing with your books, or to mark somehow in Calibre that you have the book in LibraryThing. This could be a separate column or a tag. You probably have considered the above, but I felt the need to put them out there. The comments come from maintaining the Goodreads metadata source plugin and the Goodreads Sync plugin. The latter is doing the steps of syncing between the GR and the calibre library. It does things in both directions. Whether the API you are using allows this sort of interaction, I do not know. |
02-18-2021, 11:39 PM | #10 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Hi David,
Thanks for your question. The two possible answers are: 1. I was more interested in the simple existence of the book in each source, not so much in syncing the metadata. More a personal preference in how I use LT and calibre. 2. Complexity. This is my first "real" plugin, my first attempt at python programming, and my first experience with web-related development. I wanted to keep it simple. I have looked at a couple of your metadata source plugins, and I can foresee it wouldn't be TOO difficult to adapt one for LT. I do like the idea of clicking on the identifier to go to the book in LT. I will give this some thought if the current plugin gets any traction. To touch on your other comments, I do use a "LibraryThing ID" column in calibre to keep track of the matched books. The LT API is one-way, so no facility to update books there. |
02-19-2021, 12:11 AM | #11 | ||||
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
You can get the same effect without a metadata source plugin. You can add a rule for identifiers to create the link. This is done in the preferences on the "Look & Feel" page and then the "Book details". Press the "Create rules to convert..." button. I have several of these but an example if for the MobileRead library: Code:
Key: mobileread Name: MobileRead Template: https://www.mobileread.com/forums/showthread.php?t={id} Quote:
Quote:
|
||||
02-19-2021, 01:47 AM | #12 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Yep, got your gist now.
LT has concepts of "work", which is the generic published work (e.g. Little Women by Louisa May Alcott) and "book", which is the specific instance of the work as it appears in users' catalogs (e.g. Little Women by Louisa May Alcott, ebook, isbn, cover, my review, my rating, etc.) I'm using the "JSON Books API" to return the list of users books. LT users are very protective of their book metadata, and I suspect any metadata updates should only come from their book metadata. Unfortunately, this API has no way to return a single book based on any identifier. The "JSON Works API" returns a work based on an ISBN search, but can only be used once per second and up to 1000 times per day. This would be okay for editing metadata one at a time but not in bulk. For the ID linking, my quick test worked great: Code:
https://www.librarything.com/work/book/{id} Code:
mi = Metadata(...) mi.set_identifier('librarything', librarything_id) self.lt_id = librarything_id |
02-19-2021, 05:49 AM | #13 | ||||
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
Quote:
|
||||
02-20-2021, 05:13 PM | #14 |
Wizard
Posts: 1,342
Karma: 29573004
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
|
I would love to help with testing, but alas I'm stuck with Calibre 3.48 - the highest version I can access with my current Mac OS (High Sierra). So no Calibre 5x for me.
What I've been doing to link my LT record to my Calibre record is to insert the LT Book ID in the IDs field in my Calibre record as ltid: and to add the calibre ID into my LT book entry as an 'other call number' as Calibre ##### (using leading zeros). This is done as part of my manual logging process as I acquire new ebooks and load them into Calibre. It's not perfect, because where I split omnibuses, the IDs get reused, and when I merge short stories, there's multiple IDs. It's also manual, but I can process a record in a couple of minutes, so it's not too onerous. It would be nice to be able to automate the matching and insertion of IDs. |
02-20-2021, 09:21 PM | #15 | ||
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Quote:
Quote:
Best of luck. |
||
Tags |
calibre, librarything, ltmatch |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LibraryThing Match (calibre plugin) coming soon | Bradles | Plugins | 5 | 02-18-2021 07:05 AM |
Android Beta Testers Wanted | PMrev | Calibre Companion | 20 | 04-07-2020 08:22 AM |
Kindle Beta testers wanted | kindle-checkers | General Discussions | 3 | 04-17-2011 12:16 PM |
Beta testers wanted! | Forkosigan | PocketBook | 28 | 12-22-2010 02:42 PM |
Beta testers wanted | mtravellerh | PocketBook | 47 | 09-15-2010 05:22 PM |