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.
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
So, nothing to do with the browser_enter action, you need something totally different.
The action you need is ...
BTW, How do you want this button to behave ...
- if focus is on the Folders List ?
- if focus is on the Sideview ?
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
If it's on the Folders or sideview, then move over to the browser
发表时间 Wed 28 Nov 18 @ 1:55 am
The first part you sent is working exactly how I wanted, thank you.
发表时间 Wed 28 Nov 18 @ 12:33 pm
browser_window 'songs' ? karaoke ? karaoke_add : automix ? playlist_add : sidelist_add : browser_window 'songs'
发表时间 Wed 28 Nov 18 @ 6:21 pm
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
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
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
Thank you both. This works just how I wanted.
发表时间 Sun 02 Dec 18 @ 10:06 pm