I am starting this topic for the newbies out there that wanna know where to start
Please post Examples of code to accomplish certain tasks..
If u are trying to figure out steps to solve a specific issue, then post your code and what
your are trying to accomplish...
!!!!!!!!PLEASE DO NOT POST QUESTIONS, ONLY PROBLEMS, EXAMPLES, AND WORKAROUNDS!!!!!!!
here is a list of api functions ran from firefox address bar to load a list, play a specific track from that list, fade into another track then properly refresh the input to avoid errors with the input key
http://192.168.1.0:8088/API?Function=Addinput&value=VideoList|c:\Users\newb\videos\rap.m3u
{loads a playlist in a blank input}{im going to reference the address prior to = as just A?F=}
A?F=Addinput&value=VideoList|c:\Users\newb\videos\rap.m3u
{this is done twice to load the same playlist into 2 decks to fade between tracks}
A?F=Selectindex&value=22&input=2
{select the video by number for the second input}
A?F=Selectindex&value=17&input=1
{for input1}
A?F=Activeinput&input=1
A?F=Previewinput&input=2
{Puts input 1 into the output box and input 2 into the preview box}
A?F=Play&input=1
{starts input 1 playing}
A?F=Fade&duration=5000
{assuming its set to start playing on transition in the general options,this will fade into input 2
over a 5 second period}
A?F=Moveinput&value=2&input=1
A?F=Removeinput&input=2
{moves input 2 to input 1..then removes the played video, this is important to avoid input key
conflicts}
A?F=Addinput&value=VideoList|c:\Users\newb\videos\rap.m3u
A?F=Selectindex&value=23&input=2
A?F=Previewinput&input=2
A?F=Fade&duration=5000
A?F=Moveinput&value=2&input=1
A?F=Removeinput&input=2
so on and so forth
I am current using java macros to run scripts via iMacro in firefox and will prolly buy iMacro ;\ i definitely recommend it though i havent tried any others...
If anyone can help me to find out how to reference the song position from vMix, or even just pull song duration from the file itself instead of typing it out that would be amazing