Sign In:     


Forum: Video Discussion

Topic: Script to copy ASKTHEDJ requests to a list
I would like to have a script to copy ASK THE DJ requests to a list as soon as they come in.

I know it would involve get_askthedj_unread and get_askthedj but I'm not sure on the syntax to make it happen or even if it's possible. Please could I have some help?

Ideally I would like to have the script running in the background so it acted as the request comes in but a button to activate it would be OK.

Thanks in advance. :)
 

Posted Sun 01 Dec 24 @ 11:19 pm
I have got this for a long time ago, and the button that I use blinks when a request been delivered as I remember it. And then click on the button the sideview will open up for your requests.
And dont forget to setup to always in the options (in the picture below).

get_askthedj_unread ? blink 375ms & up? show_splitpanel 'sideview' on & sideview 'askthedj://' : nothing : sideview 'askthedj://'? on & up? sideview 'askthedj://'? show_splitpanel 'sideview' off & sideview 'Sidelist' : show_splitpanel 'sideview' on & sideview 'askthedj://' : nothing : off & up? sideview 'askthedj://'? show_splitpanel 'sideview' off & sideview 'Sidelist' : show_splitpanel 'sideview' on & sideview 'askthedj://' : nothing

 

Thank you, FREPPA. :)

I already have a similar script on a button to do almost this:

get_askthedj_unread ? blink 300ms : param_equal `get_browsed_folder` "Ask the DJ" ? goto_last_folder : browser_gotofolder "askthedj://"

I'm looking for something to copy ASKTHEDJ requsts to a list as they come in. I have very busy karaoke nights and sometimes need to refer back to earlier requests if there is a query or I need to check something. I am terrible at remembering to copy manually before I delete them!

I have got to this on a button:

add_to_list "KARAOKE\REQS ◄◄◄◄◄◄" & browser_gotofolder "askthedj://"

It would be nice to be able to select all requests in the list at the start. Any ideas?
 

duggyfresh wrote :

I'm looking for something to copy ASKTHEDJ requsts to a list


This is a great feature we should wish for, a choise to save requests as a list.
What do the DEV´s think about that?



 

After some extensive testing, I have got this so far...

I have a root folder called KARAOKE with a sub-list called 'REQS ◄◄◄◄◄◄' marked as no duplicates.

Whenever I click the button, it copies the first 10 requests in the list to the REQS folder and returns to the original browsed folder. Part of the script closes the IDEAS/MY LISTS root folder as that gets expanded even if the destination folder is not in there (a small bug I think...).

This works well for me. Thank you for the tips to get started... :)

get_askthedj_unread ?
blink 375ms & up?
show_splitpanel 'sideview' on & sideview 'askthedj://' & browser_window 'sideview' &
browser_scroll 'top' &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll 'top' &
browser_window 'folders' & browser_gotofolder 'ideas://' & browser_open_folder off &
goto_last_folder & browser_window 'sideview' :
nothing :
sideview 'askthedj://'?
up?
show_splitpanel 'sideview' on & sideview 'Karaoke' : on :
up?
show_splitpanel 'sideview' on & sideview 'askthedj://' & browser_window 'sideview' &
browser_scroll 'top' &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll 'top' &
browser_window 'folders' & browser_gotofolder 'ideas://' & browser_open_folder off &
goto_last_folder & browser_window 'sideview' :
off
 

get_askthedj_unread ?
blink 375ms & up?
show_splitpanel 'sideview' on & sideview 'askthedj://' & browser_window 'sideview' &
browser_scroll 'top' & repeat_start askScroller 25ms -1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll bottom ? browser_scroll 'top' &
browser_window 'folders' & browser_gotofolder 'ideas://' & browser_open_folder off &
goto_last_folder & browser_window 'sideview' :
browser_scroll +1 : nothing :
sideview 'askthedj://' ?
up?
show_splitpanel 'sideview' on & sideview 'Karaoke' : on :
up?
show_splitpanel 'sideview' on & sideview 'askthedj://' & browser_window 'sideview' &
browser_scroll 'top' & repeat_start askScroller 25ms -1 &
add_to_list 'KARAOKE/REQS ◄◄◄◄◄◄' & goto_last_folder & browser_scroll +1 &
browser_scroll bottom ? browser_scroll 'top' &
browser_window 'folders' & browser_gotofolder 'ideas://' & browser_open_folder off &
goto_last_folder & browser_window 'sideview' : browser_scroll +1 :
off
 

Ooh! I'll try this when I get a chance... :)

Just finished a karaoke gig and packing up... :)

Thank you!