Skip to content

Improve compatibility with custom tag lists#1539

Merged
Acly merged 2 commits intoAcly:mainfrom
BetaDoggo:main
Jan 16, 2025
Merged

Improve compatibility with custom tag lists#1539
Acly merged 2 commits intoAcly:mainfrom
BetaDoggo:main

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