Use only "!" as a concatenable filter

Discussion related to "Everything" 1.5 Alpha.
Post Reply
spooky
Posts: 35
Joined: Mon Feb 14, 2022 7:16 am

Use only "!" as a concatenable filter

Post by spooky »

I'm trying to reduce the number of filters I have, and I've noticed that many of them basically have a counterpart, e.g:

Audio (ext: ogg;mp3;etc) default Everything filter
Video (ext: mp4;mkv;etc) default Everything filter
...
Exclude Audio (!audio:) [custom, search for anything but audio]
Exclude Video (!video:) [idem]
etc.

So I thought I could use the and-filter to concatenate a simpler "Exclude" filter with any other, basically reducing the total number of filters to (n/2)+1.

The thing is... it doesn't work, the "and-filter:!" custom filter won't return anything when holding CTRL and selecting some other filter. Is there any possible solution to this?
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Use only "!" as a concatenable filter

Post by void »

Not possible.
You'll need to use your custom Exclude Audio/Video filters.
spooky
Posts: 35
Joined: Mon Feb 14, 2022 7:16 am

Re: Use only "!" as a concatenable filter

Post by spooky »

No worries! I just want to confirm: is it just the and-filter approach that's not feasible, or is there no workaround in existence to keep the number of "redundant" filters (by the nature of simply doing the opposite of existing filters) low?
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Use only "!" as a concatenable filter

Post by void »

There's no workaround.

There's no option to invert the action of filters from the filter sidebar.
I will consider such an option.

It might be easier to manually type in the filter macro in the search box, eg:

!video:
Post Reply