hydrus icon indicating copy to clipboard operation
hydrus copied to clipboard

Follow child/sibling relationships in white and blacklist filter

Open roachcord3 opened this issue 4 years ago • 5 comments

I would like the ability to specify, for any given item in the tag list (whitelist, blacklist, doesn't matter), that it should also apply to children or siblings of it.

For example, there are some tags on the PTR that are sibling'd to invalid tag or junk tag or something like that. I would like to blacklist any tag that would eventually cause invalid tag or junk tag to show up on the image.

This feature should be toggleable for each item in the list, ideally. It should not be the default behavior because it's unintuitive for new users. And obviously it should use the resolution path that the service is set to, so if you've got "my tags" using both the parent/sibling rules for itself and for the PTR, it should consider both.

roachcord3 avatar Jan 26 '21 17:01 roachcord3

White and blacklist already respects siblings.

Zweibach avatar Jan 26 '21 17:01 Zweibach

@Zweibach I've blocked the siblings but the tags that resolve to them still get copied. Do you mean something else?

roachcord3 avatar Jan 29 '21 02:01 roachcord3

Example: I blacklist namespaced tags but not unnamespaced tags. pixiv tag is sibling'd to source:pixiv so if it respected siblings I would expect it not to copy the pixiv tag. And yet it does

roachcord3 avatar Jan 29 '21 07:01 roachcord3

No, that should be it especially since there have been a few fixes regarding blacklist not respecting siblings as intended. I will talk with dev and ask if this is intended behaviour for dupe filter.

Zweibach avatar Jan 29 '21 15:01 Zweibach

Argh, thank you for this report. I am not totally sure how this works when it actually happens. The siblings stuff mostly apply when it is doing blacklists for downloaders, where generous filters are useful. Here, it likely applies to the 'storage' tags, where siblings are not yet applied. I will look over this dupe metadata merge code and see what makes sense. As you say, it would be nice if siblings and parents were filtered in a helpful and easy to understand way.

hydrusnetwork avatar Jan 30 '21 23:01 hydrusnetwork