OnDJAPlay doesn't work twice in a row
Posted: 15 Oct 2021 15:20
Hi Bernd,
I've set the following events:
OnDJAPlay: Set the track state for module 4 to 1 ("PLAYING")
OnDJAStop: Set the track state for module 4 to 0 ("STOPPED")
OnDJAEject: Turn off the channel so it's ready for me to turn in it on again by pressing the button on the Airlite
I've set the same commands for DJ Player B with channel 5.
When I start a song by pressing the Airlite's On button on Channel 4, this works. Pressing it again, stops the song and a new song is automatically loaded. Now, when I try to start the new song on Channel 4 by pressing the On button on the Airlite, the song starts for a milisecond and then stops or pauses. This only happens when I start 2 consecutive songs on the same channel. When I first start a song on Channel 4, than on Channel 5 and then back on Channel 4 everything seems to work normally.
What am I missing here?
Thanks,
Frank
I've set the following events:
OnDJAPlay: Set the track state for module 4 to 1 ("PLAYING")
Code: Select all
EXEC_SEND_DRAIRLITE_SETTRACKSTATE 4|1
Code: Select all
EXEC_SEND_DRAIRLITE_SETTRACKSTATE 4|0
Code: Select all
sleep 100
EXEC_SEND_DRAIRLITE_REMOTEON 4|0
When I start a song by pressing the Airlite's On button on Channel 4, this works. Pressing it again, stops the song and a new song is automatically loaded. Now, when I try to start the new song on Channel 4 by pressing the On button on the Airlite, the song starts for a milisecond and then stops or pauses. This only happens when I start 2 consecutive songs on the same channel. When I first start a song on Channel 4, than on Channel 5 and then back on Channel 4 everything seems to work normally.
What am I missing here?
Thanks,
Frank