trying to add search result to sideview list
no problem with any browsed file but I can't find a way with a search result
search ok, sort result ok, browse_scroll ok,
getting song info in pads names ok, but i found no way in script
but "add_*" add the file selected in the folder not the file in the search result
and "add_*" do not allow script in parameter i.e.: reconstruct the fullpath with get_browsed_song * '`get_browsed_song 'filename'`"
any idea ?
no problem with any browsed file but I can't find a way with a search result
search ok, sort result ok, browse_scroll ok,
getting song info in pads names ok, but i found no way in script
but "add_*" add the file selected in the folder not the file in the search result
and "add_*" do not allow script in parameter i.e.: reconstruct the fullpath with get_browsed_song * '`get_browsed_song 'filename'`"
any idea ?
geposted Fri 07 Jun 19 @ 10:30 am
playlist_add etc... should work from songs in search results too
geposted Fri 07 Jun 19 @ 10:38 am
Asin fact it's the same using "load" it looks like i missed the way to get search result as browsed files
geposted Fri 07 Jun 19 @ 10:54 am
Just tried, search, select a track, press a button mapped as playlist_add, and the selected track got added to the automix list without problem.
geposted Fri 07 Jun 19 @ 12:27 pm
Yes manualy this is working ok
but by script how to select the file in search result ?
search "abcd" & browser_scroll +1 & add_sidelist
does not work
but by script how to select the file in search result ?
search "abcd" & browser_scroll +1 & add_sidelist
does not work
geposted Fri 07 Jun 19 @ 12:32 pm
Probably the search is not finished before it tries to add the selected file.
geposted Fri 07 Jun 19 @ 12:39 pm
The action 'search' takes a few ms you need to add a wait rsi command
search "abcd" & repeat_start 'not SoFast' 100ms & browser_scroll +1 & add_sidelist
search "abcd" & repeat_start 'not SoFast' 100ms & browser_scroll +1 & add_sidelist
geposted Fri 07 Jun 19 @ 12:47 pm
Try with added repeat_start "wt" 20000ms &
and next with splitted script 2 buttons One with search "abcd" and the other one with "load" or "add_*"
same result, the file loaded is not the one selected in result but the one selkected in overlayed browsed folder
and next with splitted script 2 buttons One with search "abcd" and the other one with "load" or "add_*"
same result, the file loaded is not the one selected in result but the one selkected in overlayed browsed folder
geposted Fri 07 Jun 19 @ 12:48 pm
let's try with browser_scroll +1
in fact i already tested with browser_scroll 'top' which is executed and browser_sort '-play' which is too
in fact i already tested with browser_scroll 'top' which is executed and browser_sort '-play' which is too
geposted Fri 07 Jun 19 @ 12:49 pm
OK thanks it seems to work some times with browser_scroll +1 and a wait time of 2s
but rarely
but rarely
geposted Fri 07 Jun 19 @ 12:57 pm
here is why it seems to work:
- the file loaded is not the one selected in result but the one selected in overlayed browsed folder
- the wait loop introduce a latency as wanted
- if the same button is clicked a second time before the first command ends, the overlayed browsed song window is the result page from previous click
and thus this time the loaded file is the result of the previous click
- the file loaded is not the one selected in result but the one selected in overlayed browsed folder
- the wait loop introduce a latency as wanted
- if the same button is clicked a second time before the first command ends, the overlayed browsed song window is the result page from previous click
and thus this time the loaded file is the result of the previous click
geposted Fri 07 Jun 19 @ 1:12 pm