I am trying to create a button that will load a clip in a TRIA channel and fire off a custom control to play it on PGM in the switcher. An issue arises when there is already a playlist loaded in the channel beforehand: It will load the new clip as specified by my custom button but once the clip is done playing, it will push forward one clip in the playlist. This is not ideal as it is essentially skipping a clip in the playlist every time I override the channel for a singular clip through Dashboard.
Here is the code for my button in Dashboard:
<button buttontype="push" colspan="1" fill="both" id="1minA.btn" name="Break A" rowspan="1" style="style:buttons.style;" weightx="1.0" weighty="1.0">
<task tasktype="ogscript">/*! block id=1018 !*/
params.executeCommand("10.102.35.218:5254<br>Slot 0<br>Abekas", "mira_cmd.load_clip", {"channel": 0, "clip": "_CommercialBreaks\\1MIN_A", "media_type": 0}, null);
/*!!
<block id="1018" type="{&quot;name&quot;:&quot;Load Clip&quot;,&quot;contextid&quot;:&quot;10.102.35.218:5254
Slot 0
Abekas&quot;,&quot;oid&quot;:&quot;mira_cmd.load_clip&quot;,&quot;type&quot;:&quot;command&quot;,&quot;deviceid&quot;:null}" x="158" y="88" w="243" channel="0" clip="_CommercialBreaks\\1MIN_A" media_type="0" />
!!*/
/*!!<checksum>f68067d25bae19aca6369a9d91c9f5f9</checksum>!!*/</task>
<task tasktype="rosstalk">rosstalk.sendMessage(ogscript.getPrivateString('hosts', 'CarboniteB.host'), parseInt(ogscript.getPrivateString('hosts', 'CarboniteB.port')), 'CC 801');</task>
</button>
------------------------------
Quintin Brenner
ELON UNIVERSITY - ATHLETICS
------------------------------