Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve compatibility with custom tag lists #1539

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Improve compatibility with custom tag lists #1539

merged 2 commits into from
Jan 16, 2025

Conversation

BetaDoggo
Copy link
Contributor

This is a simple change which makes the tag list loader a bit more compatible.

Specifically, it doesn't assume that a header row exists, and will instead skip rows that lack a numeric tag type. Also, to improve compatibility with non-danbooru lists the tag category now defaults to general if the TagType doesn't match the known categories. This change is aimed specifically at e621 which has additional categories when pulling from the api which are not in the danbooru set.

My primary goal was to make my own tag set work with the plugin without additional modification.

@Acly Acly merged commit 5fddaaa into Acly:main Jan 16, 2025
@Acly
Copy link
Owner

Acly commented Jan 16, 2025

Looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants