Sign In:     


Forum: VirtualDJ Technical Support

Topic: please help with browser_enter remapping

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

I would like to have the browser_enter do different things depending on the following conditions:

If karaoke is active then add the highlighted song to the karaoke list

If automix is active then add the highlighted song to the automix list

If neither are active is active then add the highlighted song to the sidelist

I do not want it to load a track to a deck. I also don't need it to expand or select folders, but, that is not important.
 

Posted Tue 27 Nov 18 @ 2:55 am
So, nothing to do with the browser_enter action, you need something totally different.
The action you need is ...

karaoke ? karaoke_add : automix ? playlist_add : sidelist_add


BTW, How do you want this button to behave ...
- if focus is on the Folders List ?
- if focus is on the Sideview ?

 

If it's on the Folders or sideview, then move over to the browser
 

The first part you sent is working exactly how I wanted, thank you.
 

browser_window 'songs' ? karaoke ? karaoke_add : automix ? playlist_add : sidelist_add : browser_window 'songs'
 

I haven't tried it yet, long work hours at my other job. I am trying to understand the logic in the code. The way I am reading it, if I'm in the sidelist with automix active and I select a track, it would load a track from the sidelist into the playlist for automix and not put me into the browser window.
Would I need to add
browser_window 'songs' ?
to each conditional statement?

browser_window 'songs' ? karaoke ? karaoke_add : browser_window 'songs' ? automix ? playlist_add : browser_window 'songs' ? sidelist_add : browser_window 'songs'
 

browser_window 'songs' 
..? karaoke
....? karaoke_add
....: automix
......? playlist_add
......: sidelist_add
..: browser_window 'songs'


No you don't have to add anything else.
The action will jump to browser window "songs" if it is not already selected. A second press will then add the selected song to karaoke/automix/sidelist what ever is active.
 

Thank you both. This works just how I wanted.
 



(Old topics and forums are automatically closed)