This article replaces an original article published in 2019 that describes a method using the WMP Manager application. The WMP Manager has been replaced with the Stream Player applications which is part of the Audio Tools Pack (which also include the Loop Thru application). Whilst the WMP Manager method will continue to work, no further updates to the WMP Manager will be published so you should consider switching to the method described below.
The Stream Player is a basic audio player tool that can connect to a stream URL and play the stream through a selected audio output channel (sound device). The Stream Player can be controlled by Command Media Items in Myriad 5 Playout that can be manually 'triggered' placed in the Log (either manually or as part of the schedule.
- Switch web streams into your live or automated playout.
- Pre-load the stream to allow for connection buffer delays.
- Gracefully fade in and fade out volume of stream to segue between local and streamed content.
- Open and close WMP Manager application as required.
To help you get started, we have included a number of example Command Media Items which can be imported to your Media Wall as a Media Pack. These examples will show you how to perform all the steps outlined above although you will need to create new Command Media Items for each of the streams you wish to connect to.
Stream Player installation and setup
Download the Broadcast Radio Tools Pack from this location.
Click on Download.
Once the .zip file has finished downloading, navigate to the folder you downloaded to, open the .zip file and double click on BRToolsINstaller.msi .
This will launch the BR Tools Pack installer. There are no options so just click on the Next button when prompted to walk through the installation process.
Once the installation is complete, run the Stream Player application from the Start menu.
This will open the Stream Player.
Whilst there are other potential uses for the Stream Player, in this scenario we will use Command Media Items in Myriad 5 Playout to set the stream URL so the only thing we need to do is select the output sound device you want to use.
Click on the Settings cog to access the settings.
Select the Sound Device you want to using the Output Device drop down.
You do not need to set the Stream URL as that will be done via the Command Media Item.
You may also wish to adjust the Buffer Size option depending on the speed of your PC and your internet connection but we recommend sticking with Medium unless you have issues.
Click on OK to close the Settings window.
You can actually close the Stream Player for now as the next step is to import the example Command Media Items into Myriad 5 Playout.
Import example Command Media Items into Myriad 5 Playout
With the Stream Player installed and configured, it is time to import the example Command Media Items into Myriad 5 Playout and look at how they can be used to control the Stream Player.
In Myriad 5 Playout, click on File Menu > Install Media Pack > Import Media Pack.
Navigate to the following location: C:\BroadcastRadioTools and select BRStreamPlayer5Command.zip
This will install 14 new Command Media Items in the next empty Media ID's in your Basic Items range.
There are a lot of examples including:
- Launch Application - Opens the Stream Player (includes the stream URL to connect to).
- Launch Application (Started) - Opens Stream Player and connects to the specified stream URL.
- Launch Application (Started + Muted) - Opens Stream Player and connects to the specified stream URL but with the audio volume muted.
- Launch Application (Started + Volume set to 0) - Opens Stream Player and connects to the specified stream URL but with the audio volume set to zero. Use this if you want to fade in the stream.
- Start - This command will Start the Stream Player if it is not currently started (ie of you have launched but not started - Launch Application).
- Stop - This command will Stop the Stream Player but not close it.
- Set Volume To 50% - This will set the output volume of the Stream Player to 50% (jump not fade).
- Fade Out Over 1 Second - This will fade the output volume of the Stream Player from whatever it currently is to zero over a 1 second period.
- Fade In Over 1 Second - This will fade the output volume of the Stream Player from whatever it currently is to 100% over a 1 second period.
- Fade To 75% Over 0.5 Seconds - Fades the output volume of the Stream Player to 75% over a 0.5 second period.
- Fade To 100% Over 0.5 Seconds - Fades the output volume of the Stream Player to 100% over a 0.5 second period.
- Mute - Immediately mutes the audio output of the Stream Player (but leaves it connected).
- Un-mute - Immediately un-mutes the audio output of the Stream Player.
- Close - Immediately closes the Stream Player application.
By modifying these Commands and combining them, you can achieve sequences such as:
- Start the Stream Player Muted - It will connected to the set URL but the output volume will be set to zero.
- Play a jingle - this gives time for the stream to connect and buffer if needed.
- Fade In Over 1 Second - fade up the audio volume on the stream.
- Wait for 30 minutes - using an Absolute Time.
- Fade Out Over 1 Second - fade at the stream.
- Start the next item in the Log.
- Close the Stream Player application.
A sequence like this would allow you to connect to an external stream, wait a period of time then disconnect from the stream with a smooth transition back to Log playout.
Let's take a closer look at a couple of those Commands.
The most useful example Command is the Launch Application (Started + Muted) as this Command will start the Stream Player, tell it to connect to a stream URL but with the output volume muted.
If you Edit the appropriate example Command you will see the following code in the details section on the Editor tab.
External.Open("C:\BroadcastRadioTools\BRStreamPlayer5\BRStreamPlayer5.exe","/Start /Mute /URL="http://streaming.broadcastradio.com:9110/PG48AAC")
So in this example, the Command will open a one of our test streams.
You will need to make a copy of this Command Item and change the Stream URL to the stream you want to connected to.
You will also need to make a new Command Item for each additional Stream you want to connect to.
The Command above will open the Stream Player and connect it to your Stream URL but the volume will be muted.
So you would also want to follow this with a second Command to either Un-Mute or Fade In the audio. Let's take a look at the Fade In Over 1 Second Command.
This Command sends an HTTPGet to the Stream Player telling it to fade up the volume over a 1 second period. There is no need to modify this Command or create multiple versions as the Command is not for a specific URL.
This Command uses the RESTAPI that is built into the Stream Player to control the Stream Player via an HTTPGET Command. You could also use this feature to control Stream Player from other applications.
For more details on the available RESTAPI options see - http://localhost:9180/BrStreamPlayer/v5/swagger/ui/index#/Audio
Give it a try
Before we see how to use these Commands in a scheduled Log to connect to a stream, it is a good idea to test it manually.
- Copy the Launch Application (Started + Muted) Command to an empty Media ID.
- Edit this item and change the Stream URL to the stream you want to connect to.
- Close the Media Item (save when prompted).
- Double click on the Media Item.
- The Stream Player will launch and connect to your stream with the audio volume muted.
- Next, double click on the Unmute example Command.
This will un-mute the audio output on the Stream Player.
You should be able to hear the audio from your stream now!
- Try some of the other Example Commands to see what they do.
Putting it all together
Consider the Log Sequence bellow:
- This Command will launch the Stream Player and connect to the set stream with the volume muted. In practice, this will happen instantly and Myriad will move on to the next item in the Log.
- Play a standard jingle. This should be long enough to allow the Stream Player to connect to the Stream URL.
- At the Extro of the jingle, the Command will fire that will fade in the stream.
- With the stream playing, Myriad can now wait for the time set in the Absolute time. In this example the Myriad will wait until 11:59 and 54 seconds.
- At that time it will fade out the stream, the immediately move on to the next item in the Log.
- Finally we play a standard jingle to end the hour.
So this would provide you with an hour in your Log that included a jingle at the beginning and end with an external stream playing for the rest of the hour.
You could manually build a sequence like this but you can also build the same sequence in your Clocks on either Myriad Schedule or AutoTrack (Standard and Pro).
Note that the specific Command Media Item ID;'s are used to trigger the desired events.
By combining Command in Myriad with the Broadcast Radio Stream Player, you can include external streams in you live or automated output for your station.
The Broadcast Radio Player is provided, free of charge, to all Myriad v5 customers. The Stream Player cannot be controlled by Myriad 4 so they will have to continue to use the WMP Manager.
You may also be interested in the Audio Loop Through application which is also included in the BR Tools Pack.