Adding Partner CMS Players to a BSN.cloud Network
Players that are configured for a partner CMS application can also use a BSN.cloud network connection to access players for configuration and maintenance. To do this, temporary replace the partner CMS autorun with an autorun.brs that can make the changes needed to connect to BSN.cloud. This process is described below.
Prerequisites
You must be able to access the player on the local DWS through a browser.
You must know the name of the target BSN.cloud network.
You will need a registration token. See the Appendix for instructions.
After getting the token, you must download the cloudParameters.json file from the Appendix and customize it:
Edit line 9 to add the registration token.
Edit line 10 to add the target network name, then save the file.
Replace the Autorun and Reboot the Player
Open the local DWS for the player you are adding to BSN.cloud and go to the SD tab.
Upload the cloudParameters.json file to the SD card.
Download and open the standalone-autorun.brs file in the Appendix. If you saved the cloudParameters.json file under a different name on the SD card, make sure that line 4 of standalone-autorun.brs references the correct name.
Upload the standalone-autorun.brs to the SD card.
Go to the SD tab in the local DWS and locate the autorun.brs file.
Select the cogs icon, shown in Image 1, to go to the Rename section:
Rename autorun.brs to autorun.backup
Rename standalone-autorun.brs to autorun.brs.
Go to the Control tab in the local DWS and reboot the player.
The player will appear in the BrightAuthor:connected Network tab when it has rebooted, and the autorun.brs will again reference the partner CMS application.
Appendix
BRS and JSON Files
Getting a Registration Token through BSN.cloud
Create a new setup package with BSN.cloud.
Select Save Setup and choose a location to save the package on your computer.
Open the folder where you saved the package and open the current-sync.json file.
At the top of the file you will find similar script to Image 2. The long string after
"bsnRegistrationToken"
, is your registration token. The string after “account” should match your target network name inserted in step 4c.
Getting a Registration Token through an API
First get your OAuth token correctly issued for the target network, then see Token Entity (v3).