logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
hparsons  
#1 Posted : Wednesday, April 14, 2021 3:29:54 AM(UTC)
hparsons

Rank: Newbie

Groups: Registered
Joined: 1/7/2020(UTC)
Posts: 5
United States

I want to program a Stream Deck key to pause the active video (using Companion).
The following command will work for the specific input:
localhost:8088/API/?Function=PlayPause&input=60

The problem is that I don't want it for a specific input, I want it for whatever video is in the active screen. I've tried the following:
localhost:8088/API/?Function=PlayPause&input=active
localhost:8088/API/?Function=PlayPause&value=active
localhost:8088/API/?Function=PlayPause&active
localhost:8088/API/?Function=PlayPause

None of those worked. Surely there's a setting that will PlayPause the active video.
hparsons  
#2 Posted : Wednesday, April 14, 2021 3:34:06 AM(UTC)
hparsons

Rank: Newbie

Groups: Registered
Joined: 1/7/2020(UTC)
Posts: 5
United States

OK, I feel embarrassed. I THOUGHT I had searched the forum and didn't find a similar problem. I was using PausePlay instead of PlayPause. After noticing my error when posting my attempts, I search the right term and found it.

localhost:8088/API/?Function=PlayPause&input=-1

Minus One (-1) indicates the active display.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.