Hello Antony,
I will publish it here, but without working Grassvalley K2 summit , and AMP protocol basics knowledge it will be hard to understand how the panel works.
If you have K2 summit server - then just point his ip adress and click 'connect' - you will get all the inventory + delete scheduler for specific bin (summit folder).
I doesn't delete all the temp data from the inventory and log parameters, so when you will open it you will see the panel with data amount.
Also, using config key i show only clips in cliplist table, but there are also other columns (date, duration,lock/under construction status).
Let me know if you need addition info.
<?xml version="1.0" encoding="UTF-8"?><abs contexttype="opengear" gridsize="20" id="_top" keepalive="true">
<abs height="840" left="20" style="bdr:etched;" top="20" width="920">
<label height="80" left="0" name="AMP clips killer " right="0" style="txt-align:center;size:Bigger;bdr:etched;" top="0"/>
<button buttontype="push" height="40" id="connect.button" left="800" name="<html><left>Connect</left></html>" style="txt-align:west;" top="20" width="100">
<task tasktype="ogscript">var listener = ogscript.getListenerById('listener1');
var ip = params.getValue('ip', 0);
if(listener.isStarted()){
listener.stop();
} else {
listener.connectTo(ip, 3811);
}</task>
</button>
<param expand="true" height="40" left="860" oid="led" top="20" width="40"/>
<param editable="false" expand="true" height="36" left="700" oid="ip" style="txt-align:center;" top="22" width="100"/>
<label height="20" left="20" name="Activity log" style="txt-align:center;" top="160" width="480"/>
<param editable="false" expand="true" height="640" left="20" oid="log" scroll="vertical" showlabel="false" style="bg-align:north;bg#modaloverlay;font:default;fg#blue;txt-align:north;" top="180" width="480"/>
<param expand="true" height="600" id="list" left="560" oid="clipTable" showlabel="false" top="220" width="280">
<config key="w.cellediting">false</config>
<config key="w.selectionparam">selected</config>
<config key="w.sortable">true</config>
<config key="w.columns">clipname</config>
</param>
<label height="40" left="560" name="Inventory:" style="txt-align:center;" top="180" width="100"/>
<param expand="true" height="40" left="660" oid="binList" top="180" width="180">
<task tasktype="ogscript">function changeBin(){
var clips = ogscript.getObject('clips');
var status = ogscript.getObject('idStatusCounter');
if(clips.length==0&&status==''){
var bin = params.getValueAsString('binList', 0);
setBin(bin);
} else {
ogscript.debug('busy,retry in 1 sec..');
ogscript.asyncExec(changeBin,1000);
}
}
changeBin();</task>
</param>
<table height="34" left="5" right="5" top="100">
<tr>
<label colspan="1" fill="both" left="0" name="Delete clips older than" rowspan="1" style="txt-align:west;" top="80" weightx="1.0" weighty="1.0"/>
<param colspan="1" expand="true" fill="both" left="140" oid="hourslimit" rowspan="1" top="80" weightx="1.0" weighty="1.0"/>
<label colspan="1" fill="both" left="200" name=" hours, from bin" rowspan="1" style="txt-align:west;" top="80" weightx="1.0" weighty="1.0"/>
<param colspan="1" expand="true" fill="both" left="340" oid="binListCopy" rowspan="1" top="80" weightx="1.0" weighty="1.0"/>
<label colspan="1" fill="both" left="300" name="at:" rowspan="1" style="txt-align:center;" top="80" weightx="1.0" weighty="1.0"/>
<param colspan="1" expand="true" fill="both" left="460" oid="h1" rowspan="1" top="80" weightx="1.0" weighty="1.0"/>
<label colspan="1" fill="both" left="520" name=":" rowspan="1" style="txt-align:center;" top="80" weightx="1.0" weighty="1.0"/>
<param colspan="1" expand="true" fill="both" left="540" oid="m1" rowspan="1" top="80" weightx="1.0" weighty="1.0"/>
<label colspan="1" fill="both" left="520" name=":" rowspan="1" style="txt-align:center;" top="80" weightx="1.0" weighty="1.0"/>
<param colspan="1" expand="true" fill="both" left="620" oid="s1" rowspan="1" top="80" weightx="1.0" weighty="1.0"/>
<label colspan="1" fill="both" left="680" name="daily" rowspan="1" style="txt-align:center;" top="80" weightx="1.0" weighty="1.0"/>
<button buttontype="push" colspan="1" fill="both" left="720" name="SET" rowspan="1" top="80" weightx="1.0" weighty="1.0">
<task tasktype="ogscript">updateScheduler();</task>
</button>
<button buttontype="push" colspan="1" fill="both" gpi="delete1" left="780" name="<html><center>DELETE <br> NOW</center></html>" rowspan="1" style="tt:Click if you want to remove older clips now;" top="80" weightx="1.0" weighty="1.0">
<task tasktype="ogscript">params.setValue('binList', 0, params.getValue('binListCopy', 0));
ogscript.asyncExec(oldClipsListMaker,100);</task>
</button>
</tr>
</table>
<help height="22" left="879" message="<html><left>This is first demo ver.<br/>Log have reports trouble<br/><br/></left></html>" name="?" title="AMP clips killer v 1.0" top="803" width="28"/>
<label baseurl="file:/C:/Users/alex/Desktop/dev%20project/AMP/Release/0.91/ui.grid" height="26" id="totalClips" left="720" name="Total clips:" style="txt-align:west" top="220" width="103"/>
</abs>
<meta>
<params>
<param access="1" constrainttype="INT_CHOICE" name="binList" oid="binList" precision="0" type="INT32" value="12" widget="combo">
<constraint key="0">default</constraint>
<constraint key="1">Recycle Bin</constraint>
<constraint key="2">IMPORTS</constraint>
<constraint key="3">PGM'S</constraint>
<constraint key="4">CLEEN</constraint>
<constraint key="5">01 BOKER</constraint>
<constraint key="6">02 OPEN DAY</constraint>
<constraint key="7">03 DOH YOMI</constraint>
<constraint key="8">08 TOKER</constraint>
<constraint key="9">12 DIGITAL</constraint>
<constraint key="10">ZZZZZ</constraint>
<constraint key="11">AMNONLEVY</constraint>
<constraint key="12">HAYOM_SHEHAYA</constraint>
<constraint key="13">MIVZAK13</constraint>
<constraint key="14">SHAY</constraint>
<constraint key="15">STERN</constraint>
</param>
<param access="1" constrainttype="STRUCT" name="List Definition" oid="listDefinition" structtype="listInfo" type="STRUCT" widget="table">
<value>
<subparam access="1" maxlength="-1" name="Clip name" suboid="clipname" type="STRING" value="Test" widget="default"/>
<subparam access="1" maxlength="-1" name="Date created" suboid="date" type="STRING" value="Test" widget="default"/>
<subparam access="1" maxlength="-1" name="Lock" suboid="lock" type="STRING" value="Test" widget="default"/>
<subparam access="1" maxlength="-1" name="Length" suboid="length" type="STRING" value="Test" widget="default"/>
</value>
</param>
<param access="1" constrainttype="STRUCT" name="List Definition" oid="clipTable" structtype="listInfo" templateoid="listDefinition" type="STRUCT_ARRAY" widget="table">
<value>
<subparam suboid="clipname" value="#MAAVARON ELAD NEW"/>
<subparam suboid="date" value="2020-08-02 11:16:53"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:04:01"/>
</value>
<value>
<subparam suboid="clipname" value="#OPEN TERMINAL"/>
<subparam suboid="date" value="2019-07-28 10:26:54"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:12:05"/>
</value>
<value>
<subparam suboid="clipname" value="@ OPEN MUST"/>
<subparam suboid="date" value="2020-02-11 17:10:00"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:12:00"/>
</value>
<value>
<subparam suboid="clipname" value="@@FM_VTR_FROMCOM_WW13"/>
<subparam suboid="date" value="2020-04-09 20:47:50"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:53:03"/>
</value>
<value>
<subparam suboid="clipname" value="@AMNON_CLOSE"/>
<subparam suboid="date" value="2020-04-12 15:11:22"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:21:17"/>
</value>
<value>
<subparam suboid="clipname" value="@SAGIR"/>
<subparam suboid="date" value="2019-06-10 23:51:17"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:03:01"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_BACKSHABAT"/>
<subparam suboid="date" value="2020-04-09 20:50:59"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:21:00"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_CLEANOUTSHABAT"/>
<subparam suboid="date" value="2020-04-09 20:51:52"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:01:00"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_EIPERRAAYONBILADI"/>
<subparam suboid="date" value="2020-04-09 20:52:13"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:30:00"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_FROMCOM13SHABAT"/>
<subparam suboid="date" value="2020-04-09 20:52:27"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:45:22"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_FROMCOM13SHABATCLEAN"/>
<subparam suboid="date" value="2020-04-09 20:52:45"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:45:22"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_MAGAZINNEW"/>
<subparam suboid="date" value="2020-04-09 20:53:03"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:30:00"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_OUTSHABAT"/>
<subparam suboid="date" value="2020-04-09 20:53:44"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:21:00"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_TOCOM13SHABAT"/>
<subparam suboid="date" value="2020-04-09 20:54:10"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:23:03"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_TOCOM13SHABATCLEAN"/>
<subparam suboid="date" value="2020-04-09 20:54:24"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:30:00"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_WIPERBILADI"/>
<subparam suboid="date" value="2020-04-09 20:54:37"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:10:00"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_WIPERGENERICCLEAN"/>
<subparam suboid="date" value="2020-04-09 20:54:45"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:30:00"/>
</value>
<value>
<subparam suboid="clipname" value="@S_VTR_WIPERPIRSOMRISHON"/>
<subparam suboid="date" value="2020-04-09 20:54:58"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:30:00"/>
</value>
<value>
<subparam suboid="clipname" value="@me 1 dont delete"/>
<subparam suboid="date" value="2020-08-30 06:07:17"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:28:10"/>
</value>
<value>
<subparam suboid="clipname" value="B02-F-PATIACH MANCHIM"/>
<subparam suboid="date" value="2020-09-13 01:35:22"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:30:18"/>
</value>
<value>
<subparam suboid="clipname" value="B06-03-RECHOVOT REKIM"/>
<subparam suboid="date" value="2020-09-13 01:37:27"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:07:13"/>
</value>
<value>
<subparam suboid="clipname" value="B06-04-ANASHIM IM MASECHOT"/>
<subparam suboid="date" value="2020-09-13 01:40:22"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:25:00"/>
</value>
<value>
<subparam suboid="clipname" value="B06-05-RONI GAMZO"/>
<subparam suboid="date" value="2020-09-13 01:38:42"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:10:03"/>
</value>
<value>
<subparam suboid="clipname" value="B06-06-SEGER ARIM HAREDIOT"/>
<subparam suboid="date" value="2020-09-13 01:40:36"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:28:18"/>
</value>
<value>
<subparam suboid="clipname" value="B06-07-SEGER ARIM"/>
<subparam suboid="date" value="2020-09-13 01:39:21"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:16:08"/>
</value>
<value>
<subparam suboid="clipname" value="B06-08-OTZER ARIM ADUMOT"/>
<subparam suboid="date" value="2020-09-13 01:39:32"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:22:08"/>
</value>
<value>
<subparam suboid="clipname" value="B06-09-SEGER ARIM ARAVIYOT"/>
<subparam suboid="date" value="2020-09-13 01:36:17"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:32:17"/>
</value>
<value>
<subparam suboid="clipname" value="B06-10-BITUACH LEUMI"/>
<subparam suboid="date" value="2020-09-13 01:38:27"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:52:23"/>
</value>
<value>
<subparam suboid="clipname" value="B06-11-ASAKIM SGURIM CORONA"/>
<subparam suboid="date" value="2020-09-13 01:35:11"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:38:06"/>
</value>
<value>
<subparam suboid="clipname" value="B06-12-LISHKAT TASUKA"/>
<subparam suboid="date" value="2020-09-13 01:35:41"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:39:08"/>
</value>
<value>
<subparam suboid="clipname" value="B06-13-BATEI SEFER REKIM"/>
<subparam suboid="date" value="2020-09-13 01:36:46"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:40:01"/>
</value>
<value>
<subparam suboid="clipname" value="B06-15-LIMUDIM MEKUVANIM"/>
<subparam suboid="date" value="2020-09-13 01:40:11"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:27:00"/>
</value>
<value>
<subparam suboid="clipname" value="B06-16-BAHAREIN KLALI"/>
<subparam suboid="date" value="2020-09-13 01:39:07"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:59:11"/>
</value>
<value>
<subparam suboid="clipname" value="B06-17-MELECH BAHAREIN"/>
<subparam suboid="date" value="2020-09-13 01:36:26"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:38:08"/>
</value>
<value>
<subparam suboid="clipname" value="B06-18-DUBAI KLALI"/>
<subparam suboid="date" value="2020-09-13 01:36:56"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:30:16"/>
</value>
<value>
<subparam suboid="clipname" value="B06-20-MUHAMAD BEN ZAID"/>
<subparam suboid="date" value="2020-09-13 01:35:31"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:48:21"/>
</value>
<value>
<subparam suboid="clipname" value="B06-22F-EL ASDI MESIBA GALIL"/>
<subparam suboid="date" value="2020-09-13 01:31:36"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:15:24"/>
</value>
<value>
<subparam suboid="clipname" value="B06-23F-ERAN MITAMET SHOTRIM"/>
<subparam suboid="date" value="2020-09-13 01:33:31"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:09:01"/>
</value>
<value>
<subparam suboid="clipname" value="B06-24-YULI EDELSTEIN"/>
<subparam suboid="date" value="2020-09-13 01:36:37"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:39:15"/>
</value>
<value>
<subparam suboid="clipname" value="B06-25-ISRAEL KATZ"/>
<subparam suboid="date" value="2020-09-13 01:37:36"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:04:07"/>
</value>
<value>
<subparam suboid="clipname" value="B06-27-ERAN MITAMET SHOTRIM"/>
<subparam suboid="date" value="2020-09-13 01:34:01"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:27:15"/>
</value>
<value>
<subparam suboid="clipname" value="B07-01-HEZI LEVI"/>
<subparam suboid="date" value="2020-09-13 01:32:56"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:15:21"/>
</value>
<value>
<subparam suboid="clipname" value="B07-02-MELONOT HADREI KOSHER"/>
<subparam suboid="date" value="2020-09-13 01:34:11"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:16:00"/>
</value>
<value>
<subparam suboid="clipname" value="B07-03-HADACHA ALINA"/>
<subparam suboid="date" value="2020-09-13 03:21:59"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:16:00"/>
</value>
<value>
<subparam suboid="clipname" value="B07-04-KOSHER AVRI"/>
<subparam suboid="date" value="2020-09-13 01:32:46"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:15:19"/>
</value>
<value>
<subparam suboid="clipname" value="B07-05-HIDON"/>
<subparam suboid="date" value="2020-09-13 01:33:51"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:17:01"/>
</value>
<value>
<subparam suboid="clipname" value="B13-01-GALANT"/>
<subparam suboid="date" value="2020-09-13 01:38:16"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:46:14"/>
</value>
<value>
<subparam suboid="clipname" value="B24-01-SIGAL SHACHMON"/>
<subparam suboid="date" value="2020-09-13 01:33:06"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:16:00"/>
</value>
<value>
<subparam suboid="clipname" value="B32-01-MELONOT KLALI"/>
<subparam suboid="date" value="2020-09-13 01:39:57"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:26:21"/>
</value>
<value>
<subparam suboid="clipname" value="B32-02-HADREI KOSHER REKIM"/>
<subparam suboid="date" value="2020-09-13 01:39:46"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:39:07"/>
</value>
<value>
<subparam suboid="clipname" value="B32-03-HADREI KOSHER MELEIM"/>
<subparam suboid="date" value="2020-09-13 01:38:06"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:02:00"/>
</value>
<value>
<subparam suboid="clipname" value="B32-05-MECHAAT SHULMANIM"/>
<subparam suboid="date" value="2020-09-13 01:38:52"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:02:05:06"/>
</value>
<value>
<subparam suboid="clipname" value="B42-02F-HADACHA ALINA"/>
<subparam suboid="date" value="2020-09-13 03:22:33"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:37:00"/>
</value>
<value>
<subparam suboid="clipname" value="B42-03F-IDAN BENI"/>
<subparam suboid="date" value="2020-09-13 03:21:24"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:36:19"/>
</value>
<value>
<subparam suboid="clipname" value="B42-04-ALINA KLALI"/>
<subparam suboid="date" value="2020-09-13 03:22:24"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:40:18"/>
</value>
<value>
<subparam suboid="clipname" value="B43-03-BIBI TAL GILBOA"/>
<subparam suboid="date" value="2020-09-13 01:35:52"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:52:06"/>
</value>
<value>
<subparam suboid="clipname" value="B44-01-TMUNOT MESSI"/>
<subparam suboid="date" value="2020-09-13 01:33:42"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:16:00"/>
</value>
<value>
<subparam suboid="clipname" value="B44-02F-ASI HAVIV"/>
<subparam suboid="date" value="2020-09-13 03:21:39"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:12:06"/>
</value>
<value>
<subparam suboid="clipname" value="B44-04-MITOCH HAPEREK BESHIDUR"/>
<subparam suboid="date" value="2020-09-13 03:22:08"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:45:04"/>
</value>
<value>
<subparam suboid="clipname" value="B68-01-BAKBUKIM PLASTIC SHMUROT"/>
<subparam suboid="date" value="2020-09-13 01:37:57"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:06:21"/>
</value>
<value>
<subparam suboid="clipname" value="B68-02-BAKBUKIM SECHER YARDEN"/>
<subparam suboid="date" value="2020-09-13 01:34:57"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:25:05"/>
</value>
<value>
<subparam suboid="clipname" value="B69-01-KETA STAND UP"/>
<subparam suboid="date" value="2020-09-13 01:31:16"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:14:09"/>
</value>
<value>
<subparam suboid="clipname" value="B73-03F-KETA STAND UP"/>
<subparam suboid="date" value="2020-09-13 01:34:30"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:31:14"/>
</value>
<value>
<subparam suboid="clipname" value="Clip"/>
<subparam suboid="date" value="2020-09-13 08:21:32"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:15:01"/>
</value>
<value>
<subparam suboid="clipname" value="DOG"/>
<subparam suboid="date" value="2020-09-13 06:51:35"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:16:12"/>
</value>
<value>
<subparam suboid="clipname" value="ISO2_BLOCK5"/>
<subparam suboid="date" value="2020-09-11 14:44:27"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:23:40:14"/>
</value>
<value>
<subparam suboid="clipname" value="J-0311-VO MICHEL GMAR"/>
<subparam suboid="date" value="2020-09-13 12:40:55"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:29:15"/>
</value>
<value>
<subparam suboid="clipname" value="J-9001-VO KAPARA KLALI"/>
<subparam suboid="date" value="2020-06-14 08:23:41"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:07:14"/>
</value>
<value>
<subparam suboid="clipname" value="J-9002-VO ANTING KLALI"/>
<subparam suboid="date" value="2020-06-14 08:23:24"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:39:22"/>
</value>
<value>
<subparam suboid="clipname" value="J-9003-VO NAVA"/>
<subparam suboid="date" value="2020-06-14 08:24:32"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:19:13"/>
</value>
<value>
<subparam suboid="clipname" value="J-9004-VO ISRAEL"/>
<subparam suboid="date" value="2020-06-14 08:24:23"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:53:06"/>
</value>
<value>
<subparam suboid="clipname" value="J-9005-VO YARDEN"/>
<subparam suboid="date" value="2020-06-14 08:24:02"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:43:08"/>
</value>
<value>
<subparam suboid="clipname" value="J-9006-VO SEMION"/>
<subparam suboid="date" value="2020-06-14 08:24:12"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:45:21"/>
</value>
<value>
<subparam suboid="clipname" value="J-9007-VO ASI"/>
<subparam suboid="date" value="2020-06-14 08:24:54"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:50:16"/>
</value>
<value>
<subparam suboid="clipname" value="J-9008-VO IDAN"/>
<subparam suboid="date" value="2020-06-14 08:25:09"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:51:10"/>
</value>
<value>
<subparam suboid="clipname" value="J-9009-IDO"/>
<subparam suboid="date" value="2020-06-14 08:25:23"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:50:16"/>
</value>
<value>
<subparam suboid="clipname" value="J-9010-VO ADI BITI"/>
<subparam suboid="date" value="2020-06-14 08:26:43"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:01:02"/>
</value>
<value>
<subparam suboid="clipname" value="J-9011-VO REGEV"/>
<subparam suboid="date" value="2020-06-14 08:25:43"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:01:11"/>
</value>
<value>
<subparam suboid="clipname" value="J-9012-NICOLE"/>
<subparam suboid="date" value="2020-06-14 08:25:34"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:40:03"/>
</value>
<value>
<subparam suboid="clipname" value="J-9013-VO LITAL"/>
<subparam suboid="date" value="2020-06-14 08:26:13"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:59:14"/>
</value>
<value>
<subparam suboid="clipname" value="J-9014-VO ZOHAR"/>
<subparam suboid="date" value="2020-06-14 08:25:54"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:51:03"/>
</value>
<value>
<subparam suboid="clipname" value="J-9015-VO DAVID"/>
<subparam suboid="date" value="2020-06-14 08:26:24"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:06:20"/>
</value>
<value>
<subparam suboid="clipname" value="J-9016-VO BENNY"/>
<subparam suboid="date" value="2020-06-14 08:26:04"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:07:07"/>
</value>
<value>
<subparam suboid="clipname" value="J-9017-VO ALINA"/>
<subparam suboid="date" value="2020-06-14 08:26:59"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:59:04"/>
</value>
<value>
<subparam suboid="clipname" value="J-9018-VO ELLA"/>
<subparam suboid="date" value="2020-06-14 08:27:19"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:51:11"/>
</value>
<value>
<subparam suboid="clipname" value="J-9019-VO ILANA"/>
<subparam suboid="date" value="2020-06-14 08:27:08"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:21:22"/>
</value>
<value>
<subparam suboid="clipname" value="J-9020-VO GUY ZOAREZ"/>
<subparam suboid="date" value="2020-06-14 08:26:34"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:37:15"/>
</value>
<value>
<subparam suboid="clipname" value="J-9021-VO DANA RON_1"/>
<subparam suboid="date" value="2020-07-09 08:25:03"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:38:20"/>
</value>
<value>
<subparam suboid="clipname" value="J-9022-VO ZOHAR NEW_1"/>
<subparam suboid="date" value="2020-07-09 08:24:43"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:35:23"/>
</value>
<value>
<subparam suboid="clipname" value="J-9023-VO KAPRE NEW_1"/>
<subparam suboid="date" value="2020-07-09 08:25:49"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:27:16"/>
</value>
<value>
<subparam suboid="clipname" value="J-9024-VO ANTING NEW_1"/>
<subparam suboid="date" value="2020-07-09 08:25:13"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:48:09"/>
</value>
<value>
<subparam suboid="clipname" value="M_VTR_MIVZAKEND2020_V2"/>
<subparam suboid="date" value="2020-06-14 13:18:53"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:36:18"/>
</value>
<value>
<subparam suboid="clipname" value="M_VTR_MIVZAKFULL2020"/>
<subparam suboid="date" value="2020-05-20 06:12:09"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:10:01"/>
</value>
<value>
<subparam suboid="clipname" value="M_VTR_MIVZAKOPENN2020"/>
<subparam suboid="date" value="2020-06-14 11:50:41"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:14:17"/>
</value>
<value>
<subparam suboid="clipname" value="P05-01F-HAVARAT SHARSHERET HASINUT"/>
<subparam suboid="date" value="2020-09-13 01:37:46"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:34:00"/>
</value>
<value>
<subparam suboid="clipname" value="P06-01F-ASI BRIT HAGIT"/>
<subparam suboid="date" value="2020-09-13 01:30:56"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:35:07"/>
</value>
<value>
<subparam suboid="clipname" value="P06-02-ASI BRIT HAGIT"/>
<subparam suboid="date" value="2020-09-13 01:31:06"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:35:07"/>
</value>
<value>
<subparam suboid="clipname" value="P06-03F-NITZAHON TILTIL"/>
<subparam suboid="date" value="2020-09-13 01:34:46"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:02:18"/>
</value>
<value>
<subparam suboid="clipname" value="P07-01F-THILAT ONA"/>
<subparam suboid="date" value="2020-09-13 01:30:31"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:33:15"/>
</value>
<value>
<subparam suboid="clipname" value="P07-02-THILAT ONA"/>
<subparam suboid="date" value="2020-09-13 01:31:26"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:33:15"/>
</value>
<value>
<subparam suboid="clipname" value="P08-01F-GUY MITGAGEA ASAF"/>
<subparam suboid="date" value="2020-09-13 01:32:12"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:14:10"/>
</value>
<value>
<subparam suboid="clipname" value="P08-02-ASAF KLALI ONA"/>
<subparam suboid="date" value="2020-09-13 01:25:34"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:04:00"/>
</value>
<value>
<subparam suboid="clipname" value="P10-F-PAZ PARLAMENT POLEG NATANIA"/>
<subparam suboid="date" value="2020-09-13 01:31:46"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:05:22:23"/>
</value>
<value>
<subparam suboid="clipname" value="P11-F-CLIP ITAY SEGEV"/>
<subparam suboid="date" value="2020-09-13 01:26:05"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:04:00"/>
</value>
<value>
<subparam suboid="clipname" value="P11-F-YETZIA CLIP REGEV HOD"/>
<subparam suboid="date" value="2020-09-13 01:26:50"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:08:03"/>
</value>
<value>
<subparam suboid="clipname" value="P15-01F-NICOLE TGUVA"/>
<subparam suboid="date" value="2020-09-13 01:26:41"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:52:16"/>
</value>
<value>
<subparam suboid="clipname" value="P16-02-HAVARAT SHRSHERET HASINUT"/>
<subparam suboid="date" value="2020-09-13 01:27:10"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:34:00"/>
</value>
<value>
<subparam suboid="clipname" value="P17-01F-RIV IM LITAL"/>
<subparam suboid="date" value="2020-09-13 01:27:21"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:51:00"/>
</value>
<value>
<subparam suboid="clipname" value="P17-02F-MITZAD HIBUKIM"/>
<subparam suboid="date" value="2020-09-13 01:26:25"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:13:23"/>
</value>
<value>
<subparam suboid="clipname" value="P18-01F-ISRAEL IDAN MISHPAHOT"/>
<subparam suboid="date" value="2020-09-13 01:27:35"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:13:09"/>
</value>
<value>
<subparam suboid="clipname" value="P19-F-PAZ PARLAMENT"/>
<subparam suboid="date" value="2020-09-13 01:30:41"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:02:37:15"/>
</value>
<value>
<subparam suboid="clipname" value="P22-F-DOR MEVARECH ALINA"/>
<subparam suboid="date" value="2020-09-13 01:27:46"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:51:11"/>
</value>
<value>
<subparam suboid="clipname" value="P23-01F-ASI ZOHAR"/>
<subparam suboid="date" value="2020-09-13 01:28:56"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:32:01"/>
</value>
<value>
<subparam suboid="clipname" value="P23-02-ASI ZOHAR"/>
<subparam suboid="date" value="2020-09-13 01:30:00"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:32:01"/>
</value>
<value>
<subparam suboid="clipname" value="P23-F-YAKOV YELED ANAK"/>
<subparam suboid="date" value="2020-09-13 01:27:56"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:18:16"/>
</value>
<value>
<subparam suboid="clipname" value="P24-01F-NAVA PORESHET"/>
<subparam suboid="date" value="2020-09-13 01:37:07"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:02:45:19"/>
</value>
<value>
<subparam suboid="clipname" value="P24-02-NAVA PORESHET"/>
<subparam suboid="date" value="2020-09-13 01:36:01"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:02:45:19"/>
</value>
<value>
<subparam suboid="clipname" value="P25-01F-ILANA MENATZAHAT"/>
<subparam suboid="date" value="2020-09-13 01:29:07"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:36:15"/>
</value>
<value>
<subparam suboid="clipname" value="P25-01F-REGEV MESAPER IDAN"/>
<subparam suboid="date" value="2020-09-13 01:28:36"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:36:00"/>
</value>
<value>
<subparam suboid="clipname" value="P25-02-ILANA MENATZAHAT"/>
<subparam suboid="date" value="2020-09-13 01:28:25"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:36:15"/>
</value>
<value>
<subparam suboid="clipname" value="P25-03F-MICHSE"/>
<subparam suboid="date" value="2020-09-13 01:28:16"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:22:11"/>
</value>
<value>
<subparam suboid="clipname" value="P25-04-MICHSE"/>
<subparam suboid="date" value="2020-09-13 01:28:46"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:22:11"/>
</value>
<value>
<subparam suboid="clipname" value="P25-05-KRAV ANAKIM"/>
<subparam suboid="date" value="2020-09-13 01:29:30"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:43:21"/>
</value>
<value>
<subparam suboid="clipname" value="P25-05F-KRAV ANAKIM"/>
<subparam suboid="date" value="2020-09-13 01:29:20"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:46:20"/>
</value>
<value>
<subparam suboid="clipname" value="P28-F-PETER MEVARECH"/>
<subparam suboid="date" value="2020-09-13 01:30:16"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:42:01"/>
</value>
<value>
<subparam suboid="clipname" value="P33-01F-MIFGASH MISHPAHOT"/>
<subparam suboid="date" value="2020-09-13 01:34:21"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:12:21"/>
</value>
<value>
<subparam suboid="clipname" value="P33-02-MIFGASH MISHPAHOT"/>
<subparam suboid="date" value="2020-09-13 01:32:26"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:12:21"/>
</value>
<value>
<subparam suboid="clipname" value="P34-01F-MESIMAT SHAVSHAVOT"/>
<subparam suboid="date" value="2020-09-13 01:29:51"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:21:17"/>
</value>
<value>
<subparam suboid="clipname" value="P34-02-MESIMAT SHAVSHAVOT"/>
<subparam suboid="date" value="2020-09-13 01:29:41"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:21:17"/>
</value>
<value>
<subparam suboid="clipname" value="P35-01F-BREZENT"/>
<subparam suboid="date" value="2020-09-13 01:33:17"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:13:03"/>
</value>
<value>
<subparam suboid="clipname" value="P35-02-BREZENT"/>
<subparam suboid="date" value="2020-09-13 01:32:37"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:02:14"/>
</value>
<value>
<subparam suboid="clipname" value="P40-01F-BENI MOCHIAH IDAN"/>
<subparam suboid="date" value="2020-09-13 03:27:19"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:02:05:06"/>
</value>
<value>
<subparam suboid="clipname" value="P40-02-BENI MOCHIACH IDAN"/>
<subparam suboid="date" value="2020-09-13 03:26:59"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:02:05:06"/>
</value>
<value>
<subparam suboid="clipname" value="P40-03F-HAGIT MEDABERET"/>
<subparam suboid="date" value="2020-09-13 03:26:39"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:57:08"/>
</value>
<value>
<subparam suboid="clipname" value="P40-04-HAGIT MEDABERET"/>
<subparam suboid="date" value="2020-09-13 03:26:25"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:57:08"/>
</value>
<value>
<subparam suboid="clipname" value="P40-05F-HASORED HAHUV"/>
<subparam suboid="date" value="2020-09-13 03:27:58"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:31:21"/>
</value>
<value>
<subparam suboid="clipname" value="P40-06-HASORED HAHUV"/>
<subparam suboid="date" value="2020-09-13 03:27:45"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:31:21"/>
</value>
<value>
<subparam suboid="clipname" value="P40-07F-HADACHA ALINA"/>
<subparam suboid="date" value="2020-09-13 03:30:20"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:02:39:08"/>
</value>
<value>
<subparam suboid="clipname" value="P40-08-HADACHA ALINA"/>
<subparam suboid="date" value="2020-09-13 03:31:44"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:02:39:08"/>
</value>
<value>
<subparam suboid="clipname" value="P40-09F-ASI ACH MAOR"/>
<subparam suboid="date" value="2020-09-13 03:33:15"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:54:10"/>
</value>
<value>
<subparam suboid="clipname" value="P40-10-ASI ACH MAOR"/>
<subparam suboid="date" value="2020-09-13 03:34:15"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:01:54:10"/>
</value>
<value>
<subparam suboid="clipname" value="SH_VTR_PATIH"/>
<subparam suboid="date" value="2020-08-13 07:03:16"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:13:21"/>
</value>
<value>
<subparam suboid="clipname" value="SH_VTR_SAGIR"/>
<subparam suboid="date" value="2020-08-13 07:01:20"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:07:07"/>
</value>
<value>
<subparam suboid="clipname" value="SK_VO_HOFYAMOMES"/>
<subparam suboid="date" value="2020-06-14 14:12:32"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:45:00"/>
</value>
<value>
<subparam suboid="clipname" value="_Opener_morning 4"/>
<subparam suboid="date" value="2020-06-11 13:34:15"/>
<subparam suboid="lock" value="<html><font color="#FF0000"></font></html>"/>
<subparam suboid="length" value="00:00:05:14"/>
</value>
</param>
<param access="1" constrainttype="INT_NULL" name="selected" oid="selected" precision="0" type="INT16_ARRAY" value="4" widget="default"/>
<param access="1" constrainttype="INT_CHOICE" name="binListCopy" oid="binListCopy" precision="0" type="INT16" value="0" widget="default">
<constraint key="0">default</constraint>
<constraint key="1">Recycle Bin</constraint>
<constraint key="2">IMPORTS</constraint>
<constraint key="3">PGM'S</constraint>
<constraint key="4">CLEEN</constraint>
<constraint key="5">01 BOKER</constraint>
<constraint key="6">02 OPEN DAY</constraint>
<constraint key="7">03 DOH YOMI</constraint>
<constraint key="8">08 TOKER</constraint>
<constraint key="9">12 DIGITAL</constraint>
<constraint key="10">ZZZZZ</constraint>
<constraint key="11">AMNONLEVY</constraint>
<constraint key="12">HAYOM_SHEHAYA</constraint>
<constraint key="13">MIVZAK13</constraint>
<constraint key="14">SHAY</constraint>
<constraint key="15">STERN</constraint>
</param>
<param access="1" constraint="48.0;100.0;48.0;100.0;1" constrainttype="INT_STEP_RANGE" name="hourslimit" oid="hourslimit" precision="0" type="INT32" value="48" widget="spinner"/>
<param access="1" maxlength="0" name="log" oid="log" type="STRING" value="2020-09-13 16:13:09 Removed: Recycle Bin / #MAAVARON ELAD NEW 2020-09-13 16:13:08 Removed: Recycle Bin / #OPEN TERMINAL 2020-09-13 16:13:08 Removed: Recycle Bin / @ OPEN MUST 2020-09-13 16:13:07 Removed: Recycle Bin / @@FM_VTR_FROMCOM_WW13 2020-09-13 16:13:07 Removed: Recycle Bin / @AMNON_CLOSE 2020-09-13 16:13:06 Removed: Recycle Bin / @SAGIR 2020-09-13 16:13:06 Removed: Recycle Bin / @S_VTR_BACKSHABAT 2020-09-13 16:13:05 Removed: Recycle Bin / @S_VTR_CLEANOUTSHABAT 2020-09-13 16:13:05 Removed: Recycle Bin / @S_VTR_EIPERRAAYONBILADI 2020-09-13 16:13:04 Removed: Recycle Bin / @S_VTR_FROMCOM13SHABAT 2020-09-13 16:13:04 Removed: Recycle Bin / @S_VTR_FROMCOM13SHABATCLEAN 2020-09-13 16:13:03 Removed: Recycle Bin / @S_VTR_MAGAZINNEW 2020-09-13 16:13:02 Removed: Recycle Bin / @S_VTR_OUTSHABAT 2020-09-13 16:13:02 Removed: Recycle Bin / @S_VTR_TOCOM13SHABAT 2020-09-13 16:13:01 Removed: Recycle Bin / @S_VTR_TOCOM13SHABATCLEAN 2020-09-13 16:13:01 Removed: Recycle Bin / @S_VTR_WIPERBILADI 2020-09-13 16:13:00 Removed: Recycle Bin / @S_VTR_WIPERGENERICCLEAN 2020-09-13 16:13:00 Removed: Recycle Bin / @S_VTR_WIPERPIRSOMRISHON 2020-09-13 16:12:59 Removed: Recycle Bin / @me 1 dont delete 2020-09-13 16:12:59 Removed: Recycle Bin / ISO2_BLOCK5 2020-09-13 16:12:58 Removed: Recycle Bin / J-9001-VO KAPARA KLALI 2020-09-13 16:12:58 Removed: Recycle Bin / J-9002-VO ANTING KLALI 2020-09-13 16:12:57 Removed: Recycle Bin / J-9003-VO NAVA 2020-09-13 16:12:57 Removed: Recycle Bin / J-9004-VO ISRAEL 2020-09-13 16:12:56 Removed: Recycle Bin / J-9005-VO YARDEN 2020-09-13 16:12:56 Removed: Recycle Bin / J-9006-VO SEMION 2020-09-13 16:12:55 Removed: Recycle Bin / J-9007-VO ASI 2020-09-13 16:12:55 Removed: Recycle Bin / J-9008-VO IDAN 2020-09-13 16:12:54 Removed: Recycle Bin / J-9009-IDO 2020-09-13 16:12:54 Removed: Recycle Bin / J-9010-VO ADI BITI 2020-09-13 16:12:53 Removed: Recycle Bin / J-9011-VO REGEV 2020-09-13 16:12:53 Removed: Recycle Bin / J-9012-NICOLE 2020-09-13 16:12:52 Removed: Recycle Bin / J-9013-VO LITAL 2020-09-13 16:12:52 Removed: Recycle Bin / J-9014-VO ZOHAR 2020-09-13 16:12:51 Removed: Recycle Bin / J-9015-VO DAVID 2020-09-13 16:12:51 Removed: Recycle Bin / J-9016-VO BENNY 2020-09-13 16:12:50 Removed: Recycle Bin / J-9017-VO ALINA 2020-09-13 16:12:50 Removed: Recycle Bin / J-9018-VO ELLA 2020-09-13 16:12:49 Removed: Recycle Bin / J-9019-VO ILANA 2020-09-13 16:12:49 Removed: Recycle Bin / J-9020-VO GUY ZOAREZ 2020-09-13 16:12:48 Removed: Recycle Bin / J-9021-VO DANA RON_1 2020-09-13 16:12:48 Removed: Recycle Bin / J-9022-VO ZOHAR NEW_1 2020-09-13 16:12:47 Removed: Recycle Bin / J-9023-VO KAPRE NEW_1 2020-09-13 16:12:47 Removed: Recycle Bin / J-9024-VO ANTING NEW_1 2020-09-13 16:12:46 Removed: Recycle Bin / M_VTR_MIVZAKEND2020_V2 2020-09-13 16:12:46 Removed: Recycle Bin / M_VTR_MIVZAKFULL2020 2020-09-13 16:12:45 Removed: Recycle Bin / M_VTR_MIVZAKOPENN2020 2020-09-13 16:12:45 Removed: Recycle Bin / SH_VTR_PATIH 2020-09-13 16:12:44 Removed: Recycle Bin / SH_VTR_SAGIR 2020-09-13 16:12:44 Removed: Recycle Bin / _Opener_morning 4 2020-09-13 16:12:02 Removed: Recycle Bin / #MAAVARON ELAD NEW 2020-09-13 16:12:02 Removed: Recycle Bin / #OPEN TERMINAL 2020-09-13 16:12:01 Removed: Recycle Bin / @ OPEN MUST 2020-09-13 16:12:01 Removed: Recycle Bin / @@FM_VTR_FROMCOM_WW13 2020-09-13 16:12:00 Removed: Recycle Bin / @AMNON_CLOSE 2020-09-13 16:12:00 Removed: Recycle Bin / @SAGIR 2020-09-13 16:11:59 Removed: Recycle Bin / @S_VTR_BACKSHABAT 2020-09-13 16:11:59 Removed: Recycle Bin / @S_VTR_CLEANOUTSHABAT 2020-09-13 16:11:58 Removed: Recycle Bin / @S_VTR_EIPERRAAYONBILADI 2020-09-13 16:11:58 Removed: Recycle Bin / @S_VTR_FROMCOM13SHABAT 2020-09-13 16:11:57 Removed: Recycle Bin / @S_VTR_FROMCOM13SHABATCLEAN 2020-09-13 16:11:57 Removed: Recycle Bin / @S_VTR_MAGAZINNEW 2020-09-13 16:11:56 Removed: Recycle Bin / @S_VTR_OUTSHABAT 2020-09-13 16:11:56 Removed: Recycle Bin / @S_VTR_TOCOM13SHABAT 2020-09-13 16:11:55 Removed: Recycle Bin / @S_VTR_TOCOM13SHABATCLEAN 2020-09-13 16:11:55 Removed: Recycle Bin / @S_VTR_WIPERBILADI 2020-09-13 16:11:54 Removed: Recycle Bin / @S_VTR_WIPERGENERICCLEAN 2020-09-13 16:11:54 Removed: Recycle Bin / @S_VTR_WIPERPIRSOMRISHON 2020-09-13 16:11:53 Removed: Recycle Bin / @me 1 dont delete 2020-09-13 16:11:53 Removed: Recycle Bin / ISO2_BLOCK5 2020-09-13 16:11:52 Removed: Recycle Bin / J-9001-VO KAPARA KLALI 2020-09-13 16:11:52 Removed: Recycle Bin / J-9002-VO ANTING KLALI 2020-09-13 16:11:51 Removed: Recycle Bin / J-9003-VO NAVA 2020-09-13 16:11:51 Removed: Recycle Bin / J-9004-VO ISRAEL 2020-09-13 16:11:50 Removed: Recycle Bin / J-9005-VO YARDEN 2020-09-13 16:11:50 Removed: Recycle Bin / J-9006-VO SEMION 2020-09-13 16:11:49 Removed: Recycle Bin / J-9007-VO ASI 2020-09-13 16:11:49 Removed: Recycle Bin / J-9008-VO IDAN 2020-09-13 16:11:48 Removed: Recycle Bin / J-9009-IDO 2020-09-13 16:11:48 Removed: Recycle Bin / J-9010-VO ADI BITI 2020-09-13 16:11:47 Removed: Recycle Bin / J-9011-VO REGEV 2020-09-13 16:11:47 Removed: Recycle Bin / J-9012-NICOLE 2020-09-13 16:11:46 Removed: Recycle Bin / J-9013-VO LITAL 2020-09-13 16:11:46 Removed: Recycle Bin / J-9014-VO ZOHAR 2020-09-13 16:11:45 Removed: Recycle Bin / J-9015-VO DAVID 2020-09-13 16:11:45 Removed: Recycle Bin / J-9016-VO BENNY 2020-09-13 16:11:44 Removed: Recycle Bin / J-9017-VO ALINA 2020-09-13 16:11:44 Removed: Recycle Bin / J-9018-VO ELLA 2020-09-13 16:11:43 Removed: Recycle Bin / J-9019-VO ILANA 2020-09-13 16:11:43 Removed: Recycle Bin / J-9020-VO GUY ZOAREZ 2020-09-13 16:11:42 Removed: Recycle Bin / J-9021-VO DANA RON_1 2020-09-13 16:11:42 Removed: Recycle Bin / J-9022-VO ZOHAR NEW_1 2020-09-13 16:11:41 Removed: Recycle Bin / J-9023-VO KAPRE NEW_1 2020-09-13 16:11:41 Removed: Recycle Bin / J-9024-VO ANTING NEW_1 2020-09-13 16:11:40 Removed: Recycle Bin / M_VTR_MIVZAKEND2020_V2 2020-09-13 16:11:40 Removed: Recycle Bin / M_VTR_MIVZAKFULL2020 2020-09-13 16:11:39 Removed: Recycle Bin / M_VTR_MIVZAKOPENN2020 2020-09-13 16:11:39 Removed: Recycle Bin / SH_VTR_PATIH 2020-09-13 16:11:38 Removed: Recycle Bin / SH_VTR_SAGIR 2020-09-13 16:11:38 Removed: Recycle Bin / _Opener_morning 4 " widget="text-display"/>
<param access="1" maxlength="0" name="ip" oid="ip" type="STRING" value="10.168.1.89" widget="text"/>
<param access="1" maxlength="0" name="led" oid="led" type="STRING" value="<#red>" widget="dot"/>
<param access="1" constraint="0.0;23.0;0.0;23.0;1" constrainttype="INT_STEP_RANGE" name="h1" oid="h1" precision="0" type="INT32" value="18" widget="spinner"/>
<param access="1" constraint="0.0;59.0;0.0;59.0;1" constrainttype="INT_STEP_RANGE" name="m1" oid="m1" precision="0" type="INT32" value="26" widget="spinner"/>
<param access="1" constraint="0.0;59.0;0.0;59.0;1" constrainttype="INT_STEP_RANGE" name="s1" oid="s1" precision="0" type="INT32" value="0" widget="spinner"/>
</params>
</meta>
<meta>
<api name="scheduler">function runAtTime(functionName, time)
{
function runGPI(gpi) {
return function() {
ogscript.debug("running gpi " + gpi);
ogscript.fireGPI(gpi, '', false);
scheduleTomorrow(functionName, time);
}
}
var now = new Date();
var delay = time.getTime() - now.getTime();
if (delay > 0) {
ogscript.asyncExec(runGPI(functionName), delay);
}
}
function scheduleToday(functionName, time)
{
var today = new Date();
var newTime = new Date(today.getFullYear(), today.getMonth(), today.getDate(), time.getHours(), time.getMinutes(), time.getSeconds(), time.getMilliseconds());
if (newTime.getTime() - today.getTime() < 0) //IF we are too late for today
{
ogscript.debug("Too late for today.");
scheduleTomorrow(functionName, time);
}
else
{
ogscript.debug("Scheduled task for today: " + newTime);
runAtTime(functionName, newTime);
}
}
function scheduleTomorrow(functionName, time)
{
var today = new Date();
var newTime = new Date(today.getFullYear(), today.getMonth(), today.getDate() + 1, time.getHours(), time.getMinutes(), time.getSeconds(), time.getMilliseconds());
ogscript.debug("Scheduling for " + newTime);
runAtTime(functionName, newTime);
}
function updateScheduler(){
//task 1
var h1 = params.getValue('h1', 0);
var m1 = params.getValue('m1', 0);
var s1 = params.getValue('s1', 0);
var task1Time = new Date()
task1Time.setHours(h1);
task1Time.setMinutes(m1);
task1Time.setSeconds(s1);
task1Time.setMilliseconds(0);
scheduleToday("delete1", task1Time);
}
/*
task1Time.setHours(h2);
task1Time.setMinutes(m2);
task1Time.setSeconds(s2);
scheduleToday("delete2", task1Time);
task1Time.setHours(h3);
task1Time.setMinutes(m3);
task1Time.setSeconds(s3);
scheduleToday("delete3", task1Time);
task1Time.setHours(h4);
task1Time.setMinutes(m4);
task1Time.setSeconds(s4);
scheduleToday("114", task1Time);
task1Time.setHours(h5);
task1Time.setMinutes(m5);
task1Time.setSeconds(s5);
scheduleToday("115", task1Time);
*/</api>
<api name="onload">var empty = []; // blank string for reset clips object
ogscript.putObject('clips',empty); // reset clips object
ogscript.putObject('idStatusCounter',empty); // reset idstatus object
ogscript.putObject('busy', 0); // reset busy flag
ogscript.putObject('eraseList', null); // reset busy flag
var eraseList = null;
params.setValue('led', 0, '<#red>');
updateScheduler();
var lockIcon = decodeURI('%F0%9F%94%92');
var recordIcon = decodeURI('%E2%9A%99');
var listFirstFolderALIAS = 'CMDS0004A02A' + '\n';
var listNextFoldersALIAS = 'CMDS0004A02B' + '\n';
var listFirstIdALIAS = 'CMDS0008A2140000' + '\n';
var listNextIdALIAS = 'CMDS0006a115FF' + '\n';
var getWorkingBinALIAS = 'CMDS0004A00F' + '\n';
var getIdCountALIAS = 'CMDS0004A026' + '\n';
var setDefaultBinALIAS = 'CMDS0026a20e0009000764656661756c74' + '\n';
var channellessConnectionALIAS = 'CRAT00014\n';
var stopALIAS = 'STOP0000\n';
var setBinALIAS = 'a20e';
var eraseIdALIAS = 'aa10';
var ackALIAS = "1001";
var nakALIAS = "1111";
var error = "1112";
var listFirstFolderReturnALIAS = '822a';
var listNextFolderReturnALIAS = '822b';
var binListCompleteALIAS = '802b';
var idReturnALIAS = '8a14';
var noMoreIdALIAS = '8014';
var IdInfoReturnALIAS = '8a13';</api>
<api immediate="true" name="sending funcs" src="">function firstIdRequest(){
ogscript.debug('firstIdRequest fired');
ogscript.putObject('clips',empty); // reset clips object
ogscript.putObject('busy',1);
var server = ogscript.getObject('channel-less');
server.writeString(listFirstIdALIAS, false);
}
function nextIdRequest(){
ogscript.debug('nextIdRequest fired');
var server = ogscript.getObject('channel-less');
server.writeString(listNextIdALIAS, false);
}
function firstFolderRequest(){
ogscript.putObject('busy',1);
var server = ogscript.getObject('channel-less');
server.writeString(listFirstFolderALIAS, false);
}
function nextFolderRequest(){
var server = ogscript.getObject('channel-less');
server.writeString(listNextFoldersALIAS, false);
}
function setBin(binName){
ogscript.putObject('busy',1); // set busy flag to true
var server = ogscript.getObject('channel-less');
server.writeString(ampMessageBuilder(binName,setBinALIAS), false);
ogscript.putObject('ack','setBin');
}</api>
<api name="Id status request">//++++++++++++++++++++ Sending Part +++++++++++++++++++++
// Triggered from clipListFinilize(), when the cliplist done.
function clipStatusRequest(){
var counter = ogscript.getObject('idStatusCounter');
var structCount = params.getElementCount('clipTable'); // 700/100 350
if (counter == ''){ //if this is request for first item in the cliplist
counter=0;
}
if(counter<structCount){
var clipname = params.getValue('clipTable.' + counter + '.clipname', 0);
var cmd = idInfoMessageBuilder(clipname,'aa13');
var server = ogscript.getObject('channel-less');
server.writeString(cmd, false);
ogscript.putObject('idStatusCounter',counter+1);
ogscript.rename('totalClips', ' '+ ((counter*100)/structCount).toFixed(0) + '%' );
}
if(counter == structCount ){
ogscript.putObject('idStatusCounter',empty);
ogscript.rename('totalClips', 'Total clips: '+structCount );
ogscript.putObject('busy',0);
}
}
function idInfoMessageBuilder(string,cmdType){
var clipNameLen = ('0000' + (string.length).toString(16)).slice(-4);
var actualCountByte = ('0000' + (string.length+3).toString(16)).slice(-4);
var totalCmdCounter = ('0000'+(string.length*2+14).toString(10)).slice(-4);
var hex = string.charCodeAt(0).toString(16);
for (i = 1; i < string.length; i++) {
hex += string.charCodeAt(i).toString(16);
}
return 'CMDS' + totalCmdCounter + cmdType + actualCountByte + '43'+ clipNameLen + hex + '\n' ;
}
//++++++++++++++++++++ Recieve Part +++++++++++++++++++++
function fileTimeToDate( fileTime ) {
var date = new Date ( fileTime / 10000 - 11644473600000);
return date.getUTCFullYear()+ '-' + ('0'+(date.getUTCMonth()+1)).slice(-2) +'-' + ('0'+date.getUTCDate()).slice(-2) + ' '+ ('0'+date.getUTCHours()).slice(-2) +':'
+ ('0'+date.getUTCMinutes()).slice(-2) +':' + ('0'+date.getUTCSeconds()).slice(-2) ;
}
function dateConvertor(windowsFileTime,dur,status){
var lock;var construction;
status = '0000' + parseInt(status,16).toString(2);
dur = dur.slice(6) + ':' + dur.slice(4,6) + ':' + dur.slice(2,4)+ ':' + dur.slice(0,2);
var decimal = parseInt(String(windowsFileTime), 16);
var counter = ogscript.getObject('idStatusCounter') ;
if(status.slice(-4,-3) == 1){lock =lockIcon; } else {lock='';}
if(status.slice(-2,-1) == 1){construction = recordIcon; } else {construction='';}
params.setValue('clipTable.' + (counter-1) + '.date',0,fileTimeToDate(decimal)); // update date,
params.setValue('clipTable.' + (counter-1) + '.length',0,dur); // duration,
params.setValue('clipTable.' + (counter-1) + '.lock',0, '<html><font color="#FF0000">' +lock+construction +'</font></html>'); // and lock/under construction status
clipStatusRequest();
}</api>
<api name="Erase funcs">function oldClipsListMaker(){
var erase = ogscript.getObject('eraseList');
var busy = ogscript.getObject('busy');
ogscript.debug('busy list status:' + busy + ', Eraselist; '+erase);
if(busy==0){ // this condition makes sure that the table data building is finished, if not, it will try again in 0.5 secs
var clipDate, difference, createdDate, nowtime, structCount,hoursLimit,lock,i;
var eraseList = [];
nowtime = new Date();
structCount = params.getElementCount('clipTable');
hoursLimit = Number(params.getValue('hourslimit', 0));
for(i=0;i<structCount;i++){
lock = params.getValue('clipTable.' + i + '.lock', 0).slice(28,30);
createdDate = params.getValue('clipTable.' + i + '.date', 0); // example date format: 2020-02-02 09:01:02
clipDate = new Date(createdDate.slice(0,4), createdDate.slice(5,7)-1, createdDate.slice(8,10), createdDate.slice(12,14), createdDate.slice(15,17), createdDate.slice(19,21), 0);
difference = (nowtime.getTime() - clipDate.getTime())/3600000; // difference in hours
if (difference>hoursLimit&&lock!==lockIcon){ // if file older then hourLimit, and doesn't locked -
eraseList.push(params.getValue('clipTable.' + i + '.clipname', 0)); // then add this clip to eraseList
}
}
if(eraseList.length!==0){
// ogscript.putObject('eraseList', null);
ogscript.putObject('eraseList', eraseList);
eraseOldClips();
}
}else {
ogscript.debug('busy list, restarting');
ogscript.asyncExec(oldClipsListMaker,500)
}
}
function eraseOldClips(){
var list = ogscript.getObject('eraseList');
var server = ogscript.getObject('channel-less');
server.writeString(ampMessageBuilder(list[list.length-1],eraseIdALIAS), false);
var date = new Date();
date = date.getUTCFullYear()+ '-' + ('0'+(date.getUTCMonth()+1)).slice(-2) +'-' + ('0'+date.getUTCDate()).slice(-2) + ' '+ ('0'+date.getUTCHours()).slice(-2) +':'
+ ('0'+date.getUTCMinutes()).slice(-2) +':' + ('0'+date.getUTCSeconds()).slice(-2);
params.setValue('log', 0, date + ' Removed: ' + params.getValueAsString('binListCopy', 0) + ' / ' + list[list.length-1] + '\n' +params.getValue('log', 0) );
list.pop(); // Remove the last element of an array
ogscript.putObject('eraseList', list);
if(list.length==0){
ogscript.putObject('eraseList', 'lastRemoveClip');
}
}</api>
<api name="core functions">// msg argument should be without CMD-TYPE,BC, and CMD CODE. It should starts from CLIPNAME-LEN(2 bytes)-->CLIP NAME and so on.
// totalLength argument it's an msg length.
// examle cmd: 000e 535f564f5f425245534c4156494d 000c 5a2d57494e4e455233313038
function dataConvertor(msg,totalLength){
var list = [];
var itemName,i,result,x;
while(totalLength>0){
result = '';
countAndNameNumber = 4 + parseInt(msg.slice(0,4),16) * 2; // number of CLIPNAME-LEN + CLIP NAME
itemName = msg.slice( 4 , countAndNameNumber);
msg = msg.slice(countAndNameNumber);
itemName = itemName.match(/.{1,2}/g); // create array of hex strings
for (i=0; i<itemName.length; i++) {
x = parseInt(itemName[i], 16); // convert hex to dec numbers
result += String.fromCharCode(x);
}
list.push(result);
totalLength -= countAndNameNumber;
}
return list;
}
function ampMessageBuilder(string,cmdType){ //CMDS0026 a20e 0009 0007 64656661756c74
var clipNameLen = ('0000' + (string.length).toString(16)).slice(-4);
var actualCountByte = ('0000' + (string.length+2).toString(16)).slice(-4);
var totalCmdCounter = ('0000'+(string.length*2+12).toString(10)).slice(-4);
var hex = string.charCodeAt(0).toString(16);
for (i = 1; i < string.length; i++) {
hex += string.charCodeAt(i).toString(16);
}
return 'CMDS' + totalCmdCounter + cmdType + actualCountByte + clipNameLen + hex + '\n' ;
}
function clipListFinilize(){
var clips = ogscript.getObject('clips'); // get array object with all cliplist.
var structCount = 0;
var newValue;
params.setAllValues('clipTable', [{'clipname':'', 'date':'','lock':'','length':''}]);
var binName ='/' + params.getValueAsString('binList', 0) + '/';
for(i=0; clips.length>i; i++){
newValue = { 'clipname': clips[i], 'date': '','lock':'','length':'' };
params.setValue('clipTable', structCount, newValue);
structCount = params.getElementCount('clipTable');
}
ogscript.rename('totalClips','Total clips: '+ clips.length);
ogscript.putObject('clips',empty); // reset clips object
if(clips.length>0){
clipStatusRequest();
} else {
ogscript.putObject('busy',0); // reset busy object
}
}
// this func copy binlist values to its copy - binlistcopy dropmenu.
function copyFolderNames() {
var list = [];
var x = params.getConstraint("binList");
var choices = x.getChoices();
for(i=0; i<choices.length ;i++){
list.push({"key": i, "value": choices[i].getName() });
}
var choiceConstraint = params.createIntChoiceConstraint(list);
params.replaceConstraint("binListCopy", choiceConstraint);
}</api>
<api>function messageRouter(msg){
// ogscript.debug('recieved msg from k2: ' + msg );
if (msg.slice(0,4) == listFirstFolderReturnALIAS){ // first folder return (822a)
list1Folder(msg.slice(8));
}
if (msg.slice(0,4) == listNextFolderReturnALIAS){ // next folder return (822b)
listNextBin(msg.slice(8));
}
if (msg == binListCompleteALIAS){ // folder list comlete (802b)
binListFinilize();
}
if (msg.slice(0,4) == idReturnALIAS ){ // ID list (or single if it is the first id) return (8a14)
nextId(msg.slice(8));
ogscript.putObject('ack','');
}
if (msg == noMoreIdALIAS){ // No more id found (8014)
ogscript.debug('8014 recieved - no more id present!' );
ogscript.putObject('ack','');
clipListFinilize();
}
if (msg.slice(0,4) == IdInfoReturnALIAS){ // Id info return (8a13)
dateConvertor(msg.slice(8,24),msg.slice(40,48),msg.slice(60,68)); // send date created, duration ,statusdata
}
if (msg == ackALIAS && ogscript.getObject('ack') == 'setBin' ){ // if recieved ack (1001) and ack flag was from setDefaulBin
ogscript.asyncExec(firstIdRequest,150);
ogscript.putObject('ack','');
}
if (msg == ackALIAS && ogscript.getObject('eraseList') !== null&&ogscript.getObject('eraseList') !== 'lastRemoveClip' ){ // if recieved ack (1001) for clip remove
ogscript.debug('recieved ack for clip removed,sending request for next delete');
ogscript.asyncExec(eraseOldClips,500);
}
if (msg == error && ogscript.getObject('eraseList') !== null&&ogscript.getObject('eraseList') !== 'lastRemoveClip' ){ // if recieved ack (1001) for clip remove
ogscript.debug('error,skipping,sending request for next delete');
ogscript.asyncExec(eraseOldClips,500);
}
if (msg == ackALIAS && ogscript.getObject('eraseList') == 'lastRemoveClip' ){ // if recieved ack (1001) for last clip remove
ogscript.debug('Clips erasing done. Updating list..');
ogscript.putObject('eraseList',null);
ogscript.asyncExec(refreshBinList,100);
}
}
function list1Folder(msg){
ogscript.debug('listfirsFolder fired');
var binList = dataConvertor(msg,msg.length); // Pass msg to dataConvertor() and get first folder name string
ogscript.putObject('binList',binList); // Overwrite 'binList' array object with the first folder name.
nextFolderRequest();
}
function listNextBin(msg){
ogscript.debug('listnextBin fired');
var binList = ogscript.getObject('binList'); // get array object with first bin name from list1Folder func.
binList = binList.concat(dataConvertor(msg,msg.length)); // add list returned from dataConvertor() to binList
ogscript.putObject('binList',binList);
nextFolderRequest();
}
function binListFinilize(){
ogscript.debug('folderlist finalize fired');
var binList = ogscript.getObject('binList'); // get array object with first bin name from list1Folder func.
var choiceConstraint = params.createIntChoiceConstraint(binList);
params.replaceConstraint("binList", choiceConstraint);
copyFolderNames(); // this will copy the list also to binListCopy parameter
}
function nextId(msg){
var clips = ogscript.getObject('clips'); // get array object with first bin name from list1Folder func.
clips = clips.concat(dataConvertor(msg,msg.length)); // add list returned from dataConvertor() to binList
ogscript.putObject('clips',clips);
nextIdRequest();
}
function refreshBinList(){
params.setValue('binList', 0, params.getValue('binListCopy', 0));
}</api>
</meta>
<listener autostart="false" blockingpause="true" connecthost="10.168.1.89" connectport="3811" delimiter="1" delimitertype="fixedlen" height="40" id="listener1" left="940" name="Connect" top="100" width="80">
<task tasktype="ogscript">if (event.isConnectEvent())
{
ogscript.putObject('channel-less', this);
this.writeString(channellessConnectionALIAS, false);
ogscript.putObject('firstConnection', true);
params.setValue('led', 0, '<#green>');
}
if (event.isMessageEvent())
{
var messageReader = ogscript.createMessageParser(this.getInputStream());
var response = event.getBytesAsString();
var bytesArr = messageReader.readBytes(3);
var i; var ampLen = "";
for (i = 0; i < 3; i++) {
response += String.fromCharCode(bytesArr[i]);
}
ogscript.debug('FROM LISTENER: ' + response);
if(response == ackALIAS||response == nakALIAS || response == binListCompleteALIAS || response == noMoreIdALIAS||response == error ){
messageRouter(response);
if(ogscript.getObject('firstConnection') == true){ // This condition runs if the ack was
firstFolderRequest(); // recieved for the first time connection,
ogscript.putObject('firstConnection', false); } // if so he fires 'listFirstFolder'
} else {
var bytesArr = messageReader.readBytes(4); // 00090007646 for example
for (i = 0; i < 4; i++) {
ampLen += String.fromCharCode(bytesArr[i]);
}
response += ampLen;
var finalMsg = messageReader.readBytes(parseInt(ampLen,16)*2);
for (i = 0; i < parseInt(ampLen,16)*2; i++) {
response += String.fromCharCode(finalMsg[i]);
}
messageRouter(response);
}
}
else if (event.isDisconnectEvent())
{
var x = ogscript.getObject('channel-less');
if (x == this)
{
params.setValue('led', 0, '<#red>');
}
}</task>
</listener>
</abs>
#DashBoard