[ComicVine] Match series with ID extracted from title or folder#224
Merged
Snd-R merged 4 commits intoSnd-R:masterfrom Nov 11, 2025
Merged
[ComicVine] Match series with ID extracted from title or folder#224Snd-R merged 4 commits intoSnd-R:masterfrom
Snd-R merged 4 commits intoSnd-R:masterfrom
Conversation
|
Hey! This sounds awesome, is this still working fine for you? |
Contributor
Author
Yes, I've been running my personal branch for a while without issues: https://github.com/matt1432/komf/tree/personal |
|
Awesome! So does the workflow itself change at all? |
This commit adds `comicVineIssueName` to the configuration file
This commit adds `comicVineIdFormat` to the configuration file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've been working on automating the downloading and metadata tagging of comic books and since I can automatically add the Comicvine ID of volumes to their folder name, I thought it would be nice for Komf to pick that up and match the metadata directly with the Comicvine ID.
To achieve this, I've added the config setting
comicVineIdFormatthat when set, will try to find the ComicVine ID in he folder name or series title if not found in the folder name, according to the value set.For example, I would set the value to "[cv-{id}]", which would be converted to the following RegExp:
/\Q[cv-\E(?<id>\d+)\Q]\E/, and then tested against a series' folder name.I also added the config setting
comicVineIssueNamethat when set, will replace a nullissue.namewith the value set and "{number}" replaced with the corresponding issue number.The added
bookNumberRegexesare to help with the previous point.Pre-Edit