Hi all,
I'm new to VirtualDJ and am trying out its various features. I think the ability to use scripts to automate repetitive tasks is an amazing feature.
I was wondering if it's possible to create a script to add colour-coded POI markers before Hot Cue 1 (my in-point) and Hot Cue 2 (my out-point).
I played around with the Google Gemini Pro model and got the script below, but I could never get it to work. Would anyone be willing to help with this, please?
Thanks in advance!
----------------------------------------------
// --- DEFINITIVE MASTER SCRIPT (using correct cue_color syntax) ---
// --- Process IN-POINT A (Hot Cue 1) ---
poi_set "(get_hotcue_pos 1) - 32" name='8 Bar In A' type='marker' color='#228B22'
poi_set "(get_hotcue_pos 1) - 16" name='4 Bar In A' type='marker' color='#B22222'
cue_color 1 '#228B22'
// --- Process OUT-POINT B (Hot Cue 2) ---
poi_set "(get_hotcue_pos 2) - 32" name='8 Bar Out B' type='marker' color='#228B22'
poi_set "(get_hotcue_pos 2) - 16" name='4 Bar Out B' type='marker' color='#B22222'
cue_color 2 '#B22222'
// --- Process IN-POINT C (Hot Cue 3) ---
poi_set "(get_hotcue_pos 3) - 32" name='8 Bar In C' type='marker' color='#228B22'
poi_set "(get_hotcue_pos 3) - 16" name='4 Bar In C' type='marker' color='#B22222'
cue_color 3 '#228B22'
// --- Process OUT-POINT D (Hot Cue 4) ---
poi_set "(get_hotcue_pos 4) - 32" name='8 Bar Out D' type='marker' color='#228B22'
poi_set "(get_hotcue_pos 4) - 16" name='4 Bar Out D' type='marker' color='#B22222'
cue_color 4 '#B22222'
I'm new to VirtualDJ and am trying out its various features. I think the ability to use scripts to automate repetitive tasks is an amazing feature.
I was wondering if it's possible to create a script to add colour-coded POI markers before Hot Cue 1 (my in-point) and Hot Cue 2 (my out-point).
I played around with the Google Gemini Pro model and got the script below, but I could never get it to work. Would anyone be willing to help with this, please?
Thanks in advance!
----------------------------------------------
// --- DEFINITIVE MASTER SCRIPT (using correct cue_color syntax) ---
// --- Process IN-POINT A (Hot Cue 1) ---
poi_set "(get_hotcue_pos 1) - 32" name='8 Bar In A' type='marker' color='#228B22'
poi_set "(get_hotcue_pos 1) - 16" name='4 Bar In A' type='marker' color='#B22222'
cue_color 1 '#228B22'
// --- Process OUT-POINT B (Hot Cue 2) ---
poi_set "(get_hotcue_pos 2) - 32" name='8 Bar Out B' type='marker' color='#228B22'
poi_set "(get_hotcue_pos 2) - 16" name='4 Bar Out B' type='marker' color='#B22222'
cue_color 2 '#B22222'
// --- Process IN-POINT C (Hot Cue 3) ---
poi_set "(get_hotcue_pos 3) - 32" name='8 Bar In C' type='marker' color='#228B22'
poi_set "(get_hotcue_pos 3) - 16" name='4 Bar In C' type='marker' color='#B22222'
cue_color 3 '#228B22'
// --- Process OUT-POINT D (Hot Cue 4) ---
poi_set "(get_hotcue_pos 4) - 32" name='8 Bar Out D' type='marker' color='#228B22'
poi_set "(get_hotcue_pos 4) - 16" name='4 Bar Out D' type='marker' color='#B22222'
cue_color 4 '#B22222'
Posted Mon 14 Jul 25 @ 3:57 am
Gemini Pro provided you garbage.
Posted Mon 14 Jul 25 @ 4:19 am
Ha ha, good to know. Thanks. Any ideas if this can be fixed. :)
Posted Mon 14 Jul 25 @ 4:32 am
You can't set markers with script currently, I have a windows plugin (a few beers for) that can do that bit, maker place & name & colour.
Everything else is just goto_cue & goto %VALUE.
Everything else is just goto_cue & goto %VALUE.
Posted Mon 14 Jul 25 @ 4:58 am
Thank you. Can you please send me the details of the plugin?
Posted Mon 14 Jul 25 @ 8:07 am
speak to me on my discord if it fits your needs.
Posted Mon 14 Jul 25 @ 8:38 am
Thank you. Will do.
Posted Mon 14 Jul 25 @ 11:09 am