Page 1 of 1

Sending Play Command

PostPosted: Fri Oct 12, 2018 8:59 pm
by Stuengland
Hi New here and also to programming.

I am trying to right a script/program that will monitor our ATEM and when an input is selected send a GO command to our media server via HTTP request or Network Message and then another when the input is deselected. Same thing as you can achive with an hyperdeck.

I am not asking anyone to do this for me (tho wouldnt turn down the offer) but just to point me in the right direction of where to start as I really have no idea. The computer that will be monitoring the atem signal will be windows based and will send the GO command either to itself via a loopback adapter or to another PC.

Thanks in advance

Stuart

Re: Sending Play Command

PostPosted: Fri Oct 12, 2018 10:52 pm
by Jack Fairley
I would take a look at Ian Morrish's powershell library, or JustMacros.

Re: Sending Play Command

PostPosted: Fri Oct 12, 2018 10:58 pm
by Stuengland
Ok Thanks. I did try looking JustMacros after seeing it mentioned on another post but can’t find a webpage

Re: Sending Play Command

PostPosted: Sun Oct 14, 2018 6:18 am
by Ian Morrish
What is the "Go" command. HTTP Post, Rest?
I can give you an exe that can do this.

Re: Sending Play Command

PostPosted: Sun Oct 14, 2018 7:47 am
by Ian Morrish
PowerShell script to do this
https://ianmorrish.wordpress.com/2018/1 ... -selected/

Requires the supporting DLL from https://1drv.ms/f/s!ApGpqMMpRLhikJVpf1M_JytL0tI7vQ (you need to unblock this after downloading)

If you have not set up PowerShell to run scripts, read this https://ianmorrish.wordpress.com/powershell/

Let me know if you want to try it and we can add the command to send the play and stop command (invoke-webrequest or invoke-restrequest)