Sign In:     


Forum: VirtualDJ Technical Support

Topic: Advanced filter editor
I love the filter functionality, but for some reason I can't get this to work. Is there a limitation in amount of text or commands for one filter, or is there something else limiting me?

1. I only want songs from 2022 and forward

2. And all those files must have had edited POI by me (I use a user comment for this function, no problem).

3. Since some songs are tagged with several genres, I want to remove the ones containing Chill (used to work, but not anymore)

4. I want a few different genres with all above matched.

5. Now I want to add a genre with minimum 4 rating and no matter year. Problem!

I have tried different syntaxes as >= <=, and also using "doesn't contain" and so on, I get no red error in the script, but the script isn't working. What do I do wrong?

Is there a page with all syntaxes I can use?

The current non working script:
Year is 2022 or year is 2023 and User 1 is POI and Genre doesn't contain "Chill" and Rating is >=4 and Genre is "Nu Disco" or Genre is "Jackin' House" or Genre is "Disco" or Genre is "Disco House" or Genre is "House" or Genre is "Vocal House"
 

Posted Sun 12 Feb 23 @ 2:15 pm
Your problem is a logic problem.
When you mix AND with OR these comparisons all take place equally.

You should try to use parentheses to better describe the query.
Like this:
(Year is 2020 OR Year is 2021) AND (Genre is House OR Genre is Disco) AND (Rating > 3 OR Play Count > 10)
 

Oh, I can use parentheses, that solves things for sure! I didn't, know that. Where did you find that information?
 

Baldy68 wrote :
Oh, I can use parentheses, that solves things for sure! I didn't, know that. Where did you find that information?


Not the previous poster, but I figured it looked like a script, so guessed that I could use conditions and it worked.

Edit: Looks like the previous poster is VDJ Staff as well