快速登录:  

Forum: VirtualDJ Technical Support

话题: please help with browser_enter remapping

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

blckjckPRO InfinityMember since 2008
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.
 

发表时间 Tue 27 Nov 18 @ 2:55 am
djdadPRO InfinityDevelopment ManagerMember since 2005
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 ?

 

发表时间 Tue 27 Nov 18 @ 4:56 pm
blckjckPRO InfinityMember since 2008
If it's on the Folders or sideview, then move over to the browser
 

发表时间 Wed 28 Nov 18 @ 1:55 am
blckjckPRO InfinityMember since 2008
The first part you sent is working exactly how I wanted, thank you.
 

发表时间 Wed 28 Nov 18 @ 12:33 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
browser_window 'songs' ? karaoke ? karaoke_add : automix ? playlist_add : sidelist_add : browser_window 'songs'
 

发表时间 Wed 28 Nov 18 @ 6:21 pm
blckjckPRO InfinityMember since 2008
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'
 

发表时间 Thu 29 Nov 18 @ 4:03 am
PachNPRO InfinityMember since 2009
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.
 

发表时间 Thu 29 Nov 18 @ 8:44 am
blckjckPRO InfinityMember since 2008
Thank you both. This works just how I wanted.
 

发表时间 Sun 02 Dec 18 @ 10:06 pm


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