Api overlay play

SteveG

New member
Hi all.
It could nice to include an overlayplay (level) scheduler command to use it with remote control API, including %variables for file name to dynamically call it like: http://127.0.0.1:9001/?pass=WxPe2JXh&action=overlayplay 20&filename=D:\announce\%year\%artist - %title.mp3
I am already using some complex python code, songrequest event (overlay playback) to override it , but a single command with %variables could be very useful!
 
Last edited:
You can achieve this as following:
  • Create a (disabled) scheduled event, configure its overlay options as needed
  • When you need to play something as overlay using the API:
    • Modify the event's action (set file name): read the event, change file name, save event
    • Start the event
 
I already do it this way, but i can't chose any other song except the one that already saved in the scheduled event.
This has the limitation that the file is specific, pre-saved in the event.
I meant something like inserttrack, overlay play any mp3 file (just without the position (pos) argument).
As always, thank you for your direct response.
 
Last edited:
Back
Top