ififfy / flipflip

Random slideshow of local images. Electron app for Mac/Windows/Linux
MIT License
155 stars 42 forks source link

"NOT" condition for tag filtering #335

Open xx790 opened 3 months ago

xx790 commented 3 months ago

Let's say I introduce a tag "tag1".

Usage scenario 1

I want to see all videos in the library that are not tagged with "tag1". It doesn't seem possible to add an inverse condition to the search field. I would expect a syntax like -tag1 or not:tag1, or some UI helper to add the inverse.

Usage scenario 2

Scene generator, advanced rule - I want to set the rate of appearance of videos with "tag1", without being explicit about what it is weighted against (other than "not tag1"). It doesn't seem possible to implement inverse condition there either. I would expect a similar way to add an inverse condition to the list inside an advanced rule and expect it to be treated as distinct from the normal rule. Alternatively, I would expect any remaining % to be considered not an error but anything that doesn't match other rule entries.

Workaround - manually adding "not-tag1" tag to all other videos - is really inconvenient and undesirable.