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

Ignore blacklisted tag(s) UNLESS some other tag(s) are present. #1663

Open
miscellaneous5572 opened this issue Jan 10, 2025 · 0 comments
Open

Comments

@miscellaneous5572
Copy link

I may just be mis-interpreting the way the blacklist/whitelist/advanced sections work when editing tag import options, but it doesn't seem like this functionality is working the way I would expect.

I would like to blacklist some tag, unless some other tag or tags are also applied to the image. I'll use a simple example:

Say I would like to ignore all images that contain the tag hair unless an image contains red_hair or tree tags. If I use the advanced tab in the import options blacklist filter and enter hair in the "exclude these" section, and then enter red_hair and tree in the "except for these" section, I would expect the query to ignore images that contain the hair tag, unless the image contains a red_hair or tree tag.

I threw in the tree tag to emphasize that it doesn't have to be a parent/sibling relationship.

I am not sure how blacklisting works exactly under the hood, e.g., if each tag in an incoming image is checked individually, or if all of the tags in the image are checked as a whole. Having the ability to specify a more complex boolean equation like with search, when entering a new blacklist item, e.g., not hair or red_hair or tree would be great.

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

No branches or pull requests

1 participant