View Single Post
Old 09-26-2018, 08:31 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by searcygr View Post
I have been helping my son load metadata on comic books using the ComicVine Calibre plugin. I had to learn the information below the hard way and after much trial & error. The following information assumes you have a comicvine login and API key.

To ensure the Comicvine Calibre Plugin downloads covers (found this solution in an obscure reference in a MobileRead forum):
1. Copy comicvine.zip plugin to a temp folder & extract the contents of the zip file
2. Edit source.py
Find the line url = 'http://static.comicvine.com' + url and comment the line
# url = 'http://static.comicvine.com' + url
4. Save source.py and rezip all the files.
5. Install the comicvine plugin into Calibre.
6. Covers are now downloaded with the comic metadata.

First thing to do:
1. Customize Plugin (Preference/Plugins/Search for Comicvine Plugin/Customize)
2. input your unique API Key
3. Change worker threads to 1 (This is important to prevent running into API limits too quickly)

Next on the list: Create an "Update ComicVine IDs" Search and Replace template
1. Search Mode: Regular Expression
2. Search Field: identifiers
3. Identifier type: comicvine-volume
4. Search for: .*
5. Replace with: nnnn where nnnnn=any five digit number for now
6. Destination field: identifiers
7. Identifier type: comicvine-volume
8. Case sensitive (uncheck)
9. Mode: Replace field
Now click on the SAVE button & Save template as "Update ComicVine IDs"
There is a thread dedicated to this plugin. Looking at it, the plugin was last updated in 2014. The author hasn't been around for a while, and I think that update was done by someone else to make the plugin compatible with calibre v2. As other people might want to do this, you could post your updated version of the plugin in the thread.

Also, the first post of the plugins thread has a link to a Github repository. It looks like some changes have been made there that weren't released here. It might be worthwhile checking if these fix the problems you are seeing.
Quote:
The comicvine plugin has a problem with comics that came out with different series/volumes/etc. For example Deadman came out with issues under Volume 1, Volume 2, etc. The plugin doesn't match the comic books too well under those circumstances.

What to do when you are not getting a good match?
Login to comicvine website.
Search for the Comic you want to retrieve metadata on
For Example Armor Wars: https://comicvine.gamespot.com/ultim...rs/4050-28008/ is the high-level URL that shows 4 issues.
I then highlight the 4 issues in Calibre, do "Edit Metadata in Bulk", go to search/replace and load my Template. Change the Replace with: from my template default to Replace with: 28008 (the comicvine-volume number for this set of issues) and then click OK.

Now the Comicvine Plugin will get the metadata for the correct comics.

I hope this helps those of you doing comic book metadata downloads into Calibre.
I don't read comics, but some of this seems weird to me. You seem to be suggesting to record the link to the volume rather than the individual comic issue. Wouldn't using the issue be better? Or is this something peculiar to how comics worked?

And with the absence of the author of the plugin, if you want to fix this as well and post it, other users would probably be appreciative.
davidfor is offline   Reply With Quote