Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Help with Filter Scripts

This topic is old and might contain outdated or incorrect information.

Using this filter script for a folder: filepath starts with "..." and remix contains "trans" or file name contains "trans" and color is "none", where file path is variable depending on location.

It works well, except for the color part on the end. Tracks still appear in the filter even after being colored. If I remove the "or file name contains "trans" portion", it works as desired.

Any advice?
 

Posted Mon 19 Mar 18 @ 6:11 am
locoDogPRO InfinityModeratorMember since 2013
Try put the color condition first.
 

Posted Mon 19 Mar 18 @ 7:17 am
Do you have both "and" and "or"?
In that case does it help to add parentheses to control the order of operations in the math?

For instance
(year>=2000 and title starts with 'A') or year<2000
Gives you very different results than
year>=2000 and (title starts with 'A' or year<2000)
 

Posted Mon 19 Mar 18 @ 7:17 am
Color condition first worked. Gotta love the forums! Thanks.
 

Posted Mon 19 Mar 18 @ 7:31 am
locoDogPRO InfinityModeratorMember since 2013
No worries, it's what we do.
I think the or makes any thing after it conditional on the or.
 

Posted Mon 19 Mar 18 @ 9:57 am


(Old topics and forums are automatically closed)