快速登录:  

Forum: VirtualDJ Technical Support

话题: Help with Filter Scripts

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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?
 

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

发表时间 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)
 

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

发表时间 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.
 

发表时间 Mon 19 Mar 18 @ 9:57 am


(陈旧帖子或论坛版块会自动关闭)