I’ve updated the scripts again to use the environment variables. I’ve also created scripts that will let you use a keypad to set the playlist index.
001_PlaylistPlayback
As before, this will begin playback of the video file in the playlist at the current index.
002_ReturnScreensToNormal
As before, this will stop playback, and return outputs of the ATEM to defaults specified in the script.
003_Initialize
This script will create/set the environment variables to defaults and create the playlist file if it doesn’t exist at c\jmfolder
004_UpdateKeypadBuild
Duplicate this script for each number on the keypad and modify the number at the top of the script to represent the number on the keypad the script is assigned to on your XKEYs device.
005_ClearBuild
This script will clear the number that the above 004 scripts have been “building” with each keypress.
006_WriteBuildToIndex
The “enter” key for your keypad. This script will change the playlist index to the number that has been built using the 004 build scripts. It also clears out the build so you’re ready to start building your next number.
So, the way this should work: when you press 1 and then 4 on the keypad, followed by the “enter” key (WriteBuildToIndex) then the next time you press play (PlaylistPlayback) the video number 14 in your playlist will play.
Here is a keypad that could be used to control all your playback from caspar and the playlist: