standbyplayer is empty

You have a question or need an advice about how to do something? Ask it here!
Post Reply
dalleyr
Posts: 7
Joined: 30 Jun 2018 12:07
standbyplayer is empty

Post by dalleyr »

Hi

How can I know if a stand by player is empty or not ? Is there a macro for that ? standbyplayerXisempty ?
or another solution ?

Thanks
User avatar
radio42
Site Admin
Posts: 8321
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: standbyplayer is empty

Post by radio42 »

There is currently no macro or event associated.
Can you explain why this would be needed, as the standby players are not really intended for any automation.
dalleyr
Posts: 7
Joined: 30 Jun 2018 12:07
Re: standbyplayer is empty

Post by dalleyr »

i'd like to change the led color on a midi device when the standbyplayer is "armed" (using event standbyplayerload).
User avatar
radio42
Site Admin
Posts: 8321
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: standbyplayer is empty

Post by radio42 »

Please take a look to the general settings, section 'Events/Commands' and the 'Others' tree. There you'll find all related events for the StandbyPlayer, incl. the 'OnStandbyEject' event, which you can use accordingly.
dalleyr
Posts: 7
Joined: 30 Jun 2018 12:07
Re: standbyplayer is empty

Post by dalleyr »

how could I know if standbyplayer1/2/3/... is empty ?
dalleyr
Posts: 7
Joined: 30 Jun 2018 12:07
Re: standbyplayer is empty

Post by dalleyr »

thank you
User avatar
radio42
Site Admin
Posts: 8321
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: standbyplayer is empty

Post by radio42 »

With the above mentioned events you can use all the regular (DJ) Player macros, e.g.:
${playername}
${playerisplaying}
${playerstatus}
${playerstatusid}

The ${playername} macro will tell you the name of the standby player, e.g. 1, 2, 3, ...
And the status is reported via the ${playerstatus} resp. the ${playerstatusis} macro:
Empty = 0
Cued = 1
Playing = 2
Loading = 3

Post Reply