Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet Help with Filter Scripts

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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?
 

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

Posté 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)
 

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

Posté 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.
 

Posté Mon 19 Mar 18 @ 9:57 am


(Les anciens sujets et forums sont automatiquement fermés)