How do you combine an "Or" and an "And" search

Discuss Resonic and other Liqube Audio products
Post Reply
DiBraccio
Starting to like this
Posts: 11
Joined: August 18th, 2018, 23:58
First Name: Angelo

How do you combine an "Or" and an "And" search

Hello

What filter expression would I need to return, all file names that match any of these strings:

_01 _02 _03 _04 _25 _26 _27 _28
"this is an the 'or' part of the search"

plus
Those returned in the above search must all match "Trap"
"This is an ''and" search applied to the above returns.

Thank You

Tom
Liqube Audio
Liqube Audio
Posts: 1064
Joined: December 12th, 2012, 19:12
First Name: Tom
Primary DAW: Live
Location: Inside a face mask
Contact:

In 0.9.3 and below:
You cannot really do this as the filter always uses AND logic.

From 0.9.4:
To filter any of these (OR) you'd write:

Code: Select all

_01 _02 _03 _04 _25 _26 _27 _28
To also match all these against "Trap" (AND) you'd write:

Code: Select all

_01 _02 _03 _04 _25 _26 _27 _28 +Trap
Sneak peek: https://resonic.at/docs/beta/file-list#filter
Join our Discord for chat and talk (not just Resonic related) and beta testing; or the Resonic Users group on FB.

A user interface is like a joke: if you have to explain it, it's not that good.

DiBraccio
Starting to like this
Posts: 11
Joined: August 18th, 2018, 23:58
First Name: Angelo

Thank You

DiBraccio
Starting to like this
Posts: 11
Joined: August 18th, 2018, 23:58
First Name: Angelo

Hi

The filter combines "or" and "and" in a single filter expression perfectly. Exactly as you typed it below.
_01 _02 _03 _04 _25 _26 _27 _28 +Trap

I got the returns I was hoping for.

I didn't mention to you that the string: "Trap" was in the folder name, so I enabled 'meta' metadata.
and set the following metadata options:
• File > File name without path
• Path > Path without file name.

It worked.

One thing I don't get is, it only works when I have 'ext' enabled.?
Extension plays no parts in the search??

Why must 'ext' be enabled?

Thank you.

Tom
Liqube Audio
Liqube Audio
Posts: 1064
Joined: December 12th, 2012, 19:12
First Name: Tom
Primary DAW: Live
Location: Inside a face mask
Contact:

Why must 'ext' be enabled?
That's clearly a bug or a wrongly labeled button (ref. 0.9.4 pre-release). Will fix that now.

Besides, we've got a bug tracker now at https://bugs.liqube.com
Join our Discord for chat and talk (not just Resonic related) and beta testing; or the Resonic Users group on FB.

A user interface is like a joke: if you have to explain it, it's not that good.

DiBraccio
Starting to like this
Posts: 11
Joined: August 18th, 2018, 23:58
First Name: Angelo

Thank You

I love the program

Tom
Liqube Audio
Liqube Audio
Posts: 1064
Joined: December 12th, 2012, 19:12
First Name: Tom
Primary DAW: Live
Location: Inside a face mask
Contact:

Join our Discord for chat and talk (not just Resonic related) and beta testing; or the Resonic Users group on FB.

A user interface is like a joke: if you have to explain it, it's not that good.

Post Reply