[Cin] The Around operation in a filter doesn't seem to work

Bulhwi Cha chabulhwi at semmalgil.com
Tue Jun 25 17:52:20 CEST 2024


On Sun Jun 23, 2024 at 8:11 PM KST, Igor BEGHETTO via Cin wrote:
> ALWAYS delete the filter:
>   Or |  Patterns | Matches | *
> because it changes the result of the filters Or, And,...

I think it does the opposite when it's the FIRST rule of a filter list,
which is quite surprising.

Let's suppose that you've excluded all files from the user folder by
mistake. After that point, nothing will change even if you apply the
following filter list:

Enable  Target    Op       Value
And     Time      Ge >=    2011/06/04 00:00:00
And     Time      Lt <     2011/06/05 00:00:00

In order to get the result you want, the list should be as follows:

Enable  Target    Op       Value
Or      Patterns  Matches  *
And     Time      Ge >=    2011/06/04 00:00:00
And     Time      Lt <     2011/06/05 00:00:00

Here's an alternative:

Enable  Target    Op       Value
Or      Time      Ge >=    2011/06/04 00:00:00
And     Time      Lt <     2011/06/05 00:00:00

It's confusing, but I think this is how filters currently work. Perhaps
we need to change it.

> Sorry for the point #2.
> The right one without "... between 2018/12/31 and *AFTER* 2021/01/01".
>
> 2. If we want all the files except between 2018/12/31 and 2021/01/01:
> Enable   Target   Op    Value
> Or Not   Time     Gt>   2018/12/31 00:00:00
> Or Not   Time     Lt<   2021/01/01 00:00:00

Did you mean "BEFORE 2018/12/31 and AFTER 2021/01/01"?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 520 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240626/363db286/attachment.asc>


More information about the Cin mailing list