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 10-30-2019, 12:29 AM   #1
Pewsplosions
Junior Member
Pewsplosions began at the beginning.
 
Pewsplosions's Avatar
 
Posts: 1
Karma: 10
Join Date: Oct 2019
Device: none
I've been looking for a good way to organize all my comic books and get metadata. It seems as though the only Comic Vine metadata plugin is really old and doesn't work anymore. And doesn't seem like it got everything I wanted anyway. Besides that I've seen some cool stuff but usually just cobbled together processes involving other applications and metadata styles.

So I created this plugin and thought I'd share it. It is not exactly a metadata plugin in Calibre terms. Its a GUI plugin that gets metadata from comic vine and adds it to Calibre. Probably not the greatest way to do it, but its what came to mind so its how I did it. I'm not very experienced with Python and Calibre wasn't immediately obvious and I only really wanted to spend the weekend on this. So here is the results.

You can see my full write up at the github repository. But here is a quick overview of the process to make this work.

1. It needs some custom columns so create those in your Calibre.
Characters with lookup characters - Ampersand separated text, shown in the Tag browser.
Creators with lookup creators - Ampersand separated text, shown in the Tag browser.
Story Arcs with lookup storyarcs - Ampersand separated text, shown in the Tag browser.
Physical Copy with lookup physicalcopy - Yes/No
Comic Vine Volume ID with lookup comicvinevolumeid - Integers
Comic Vine Issue ID with lookup comicvineissueid - Integers

2a. If you haven't imported the books yet, or can remove and re-import. Rename all your files. Make it Title --- v1234 n1234 where Title is what you want the book title to be, the number after v is the Comic Vine volume ID (found on the main volume web site URL after the 4050-) and the number after the n is the issue number. Then just import them into Calibre, the file name should become the book title. Run the first option in Comicalibre dialog. It should then populate all the metadata from Comic Vine.

2b. If you have all your books in Calibre and have already set up the series numbers. Instead of renaming the books and all the import stuff, you can just rename your series to match the volume ID from Comic Vine. Then select the second option in Comicalibre. It'll do the same thing as the other way only it'll get the volume ID from the series name and the issue number from the series index. It'll also rename the series back to the volume name.

This isn't a magical metadata plugin so read carefully if you are afraid to lose data. It does replace everything and requires the two pieces of data be exactly what you are wanting.

There is more info on the readme above. If you find any glaring errors that pop up feel free to let me know. I don't know if I can really spend much more time on this so if you want more features and such, can always fork the code.

Hopefully this helps some people. And thanks for checking it out!
Moderator Notice
New users are restricted for a short time as a SPAM reduction policy. I have replaced the original attachment with that from post 2

I can't seem to edit my original post so I'll just put this here. I noticed something small, even if physical copy is yes or no, it was always marking it as no. So since the third option is essentially to refresh metadata, one may have already marked this field as they wanted it and it is not a Comic Vine field so I made it not change this now.

So here is the new zip. Just in case anyone wants to try it out. Thanks!
Attached Files
File Type: zip comicalibre.zip (21.9 KB, 591 views)

Last edited by theducks; 10-30-2019 at 12:23 PM. Reason: New user can't update
Pewsplosions is offline   Reply With Quote
Old 12-18-2022, 09:16 AM   #2
vanishedsarah
Member
vanishedsarah began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2018
Device: Kindle Oasis
Unable to use plug-in, it doesn't recognize that I've restarted Calibre

Code:
calibre, version 6.9.0
ERROR: Must restart: You must restart calibre before you can configure the <b>Comicalibre</b> plugin
vanishedsarah is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Embed Comic Metadata dickloraine Plugins 113 02-22-2024 01:01 PM
[GUI Plugin] Zotero Metadata Importer DaltonST Plugins 291 08-07-2023 12:38 PM
[GUI Plugin] Clean Metadata WS64 Plugins 28 01-06-2022 08:09 PM
Comic Vine Scrapper kindrudekid Calibre 3 01-11-2013 12:45 AM
Getting custom metadata field in GUI plugin SauliusP. Development 7 02-11-2012 01:31 AM


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


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