REM Ignore any failures so we fade all players
REM Fade each player to 80% taking 500msec
REM This returns zero so that no message box is displayed if the last player above is empty.
Stream Deck configuration
Note: the following Stream Deck information is not fully tested and is not supported by Broadcast Radio, and should be considered "use at your own risk"
By using the REST API (introduced in Myriad v5.26) you can also remotely "play" media items such as the commands above. If you are using an Elgato Stream Deck then you can use the "API Ninja" plugin to send HTTP POST messages to the Myriad v5 REST API.
To enable the REST API, you will need to go in Myriad Application Settings, then on the Remote Connections tab select the "Always allow HTTP 'Service' Connections..." option. For this example and to use the plugin files below, you will also need to turn off the 2 options for requiring API Keys.
(Note: once you have completed testing, you should turn the API key options back on, and then alter the API Ninja configuration to use the API Keys. Consult the BarRaider documentation on how to send the API Key in the POST header)
Once you have made those changes, click OK and then close and restart Myriad Playout.
Then download the 2 attached Play400.ninja and Play401.ninja files and import those onto available buttons on your StreamDeck. Pressing those buttons should then "play" media item 400 and 401 respectively which will lower the volume all players to 80% and restore it back to 100%.