Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Colour track based on folder
Hi all,

How do I colour a track based on its folder path? for example...

If get_browsed_filepath doesn't contain "C:\Music\VDJ" then browsed_file_color "red"
 

Posted 7 days ago @ 7:59 am
locoDogPRO InfinityModeratorMember since 2013
quick colour?

File Path doesn't contain "\Music\VDJ"
if you have similar named folders on different drives and need a difference.
File Path contains "\Music\VDJ" and Drive is c
If you mean colour added to the tag that's different.
 

Posted 7 days ago @ 8:10 am
So I used this script to colour tracks in the browser that i've set cues points for (5 cue points or more):
repeat_start_instant "colTracks" 100ms & deck 1 load & (has_cue 5 ? browsed_file_color "green" : browsed_file_color "reset") & browser_scroll +1 & browser_scroll "bottom" ? repeat_stop "colTracks"


That worked a treat, so now I want to do the same but highlight all tracks that aren't in my "C:\Music\VDJ" folder. I hope that makes sense.
 

Posted 7 days ago @ 8:25 am
locoDogPRO InfinityModeratorMember since 2013
so instead of using a scrolling script, do it manually, far quicker

same filter as above, but an actual quick filter, type * in search
ctrl+a to select all, then open the tag editor, colour everything in one go
 

Posted 7 days ago @ 8:29 am
That makes sense, I'll give that a go tonight. Thanks
 

Posted 7 days ago @ 8:31 am