Rank: Member
Groups: Registered
Joined: 12/5/2023(UTC) Posts: 10 Location: East Coast Thanks: 2 times
|
Trying to give myself a bit of automation here.
My initial goal was to do this with central control.
So in my case we've got a few commercials. We'd like to advance through them playing one at a time. So if I've got a moment in the show I'd like to be able to press a single button and have the commercial play, then the next time I press the button the next commercial in the list plays. Easy.
Central control wasn't advancing to the next time. I suspect that's because of the below though.
In the list I've set a trigger oncompletion nextitem. This works until I hit the end of the list. Is there any way to have the list keep recycling, so if we've got 5 commercials, once 5 have played it starts back at the top of the list?
I thought auto first would accomplish this but that resets to the first in the list each time a video is played, so just plays the same one over and over again.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: neato23 Trying to give myself a bit of automation here.
My initial goal was to do this with central control.
So in my case we've got a few commercials. We'd like to advance through them playing one at a time. So if I've got a moment in the show I'd like to be able to press a single button and have the commercial play, then the next time I press the button the next commercial in the list plays. Easy.
Central control wasn't advancing to the next time. I suspect that's because of the below though.
In the list I've set a trigger oncompletion nextitem. This works until I hit the end of the list. Is there any way to have the list keep recycling, so if we've got 5 commercials, once 5 have played it starts back at the top of the list?
I thought auto first would accomplish this but that resets to the first in the list each time a video is played, so just plays the same one over and over again. What if you set the list to loop ? if that doesn't work a script could do it as one can read (and count) the items in the API XML
|
|
|
|
Rank: Member
Groups: Registered
Joined: 12/5/2023(UTC) Posts: 10 Location: East Coast Thanks: 2 times
|
Originally Posted by: doggy
What if you set the list to loop ? if that doesn't work a script could do it as one can read (and count) the items in the API XML
loop just loops the video over and over again. I suspected scripting might be able to do this, admittedly I'm not familiar with scripting vMix but it's on my list of things to get into. Fortunately,I do have quite a bit of a programming background.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2019(UTC) Posts: 555
Thanks: 62 times Was thanked: 130 time(s) in 118 post(s)
|
Start a script OnTransitionOut that
- checks current name of list item (A) - goes to next item - checks new name of list item (B) - if A=B goes to first item
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 501 Location: athens Thanks: 122 times Was thanked: 71 time(s) in 67 post(s)
|
Originally Posted by: neato23 Originally Posted by: doggy
What if you set the list to loop ? if that doesn't work a script could do it as one can read (and count) the items in the API XML
loop just loops the video over and over again. I suspected scripting might be able to do this, admittedly I'm not familiar with scripting vMix but it's on my list of things to get into. Fortunately,I do have quite a bit of a programming background. Hello. There is allready a script that does this you need. https://forums.vmix.com/...t--Like-Array#post109783Thanks to Doggy
|
|
|
|
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close