Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. TV Programm Mini Anzeige - HTML Tabelle

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    TV Programm Mini Anzeige - HTML Tabelle

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PatrickFro last edited by PatrickFro

      Vielleicht kann dieses Blockly der ein oder andere nutzen:

      <xml xmlns="http://www.w3.org/1999/xhtml">
       <variables>
         <variable type="" id="=ernOSD@+(!G*CIm/F`~">Reminder</variable>
         <variable type="" id="-6i2pLCqR8@Ix*pL{AL,">Programm</variable>
         <variable type="" id="lmW[FNpc;*9sNFlz.gYT">Schaltungszeit</variable>
         <variable type="" id="swE4#iTU)q](,*G|E=O(">Uhrzeit Reminder</variable>
         <variable type="undefined" id="timeout">timeout</variable>
       </variables>
       <block type="schedule" id="${J;W%^f2{0-GRLTPBlu" x="13" y="13">
         <field name="SCHEDULE">* * * * *</field>
         <statement name="STATEMENT">
           <block type="variables_set" id="xXH$]8m;3?a=DUDpEzGd">
             <field name="VAR" id="=ernOSD@+(!G*CIm/F`~" variabletype="">Reminder</field>
             <value name="VALUE">
               <block type="math_number" id="pT@W6s_}ZKQv$CaAfPR;">
                 <field name="NUM">0</field>
               </block>
             </value>
             <next>
               <block type="variables_set" id="wuD[FJSD9t|=JJp+v*hC">
                 <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                 <value name="VALUE">
                   <block type="math_number" id="7?FQ|rI00b`Vf/kB#m+e">
                     <field name="NUM">0</field>
                   </block>
                 </value>
                 <next>
                   <block type="variables_set" id="azc^a5^oAycxN;1Dn)RL">
                     <field name="VAR" id="lmW[FNpc;*9sNFlz.gYT" variabletype="">Schaltungszeit</field>
                     <value name="VALUE">
                       <block type="math_number" id="HeS*3xAJyv=$t`mLilGp">
                         <field name="NUM">0</field>
                       </block>
                     </value>
                     <next>
                       <block type="variables_set" id="foSGcZFD3yX3*X9X2LVx">
                         <field name="VAR" id="swE4#iTU)q](,*G|E=O(" variabletype="">Uhrzeit Reminder</field>
                         <value name="VALUE">
                           <block type="math_number" id="%;Qn}Rtzg^?0zUQJq@Bb">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                         <next>
                           <block type="variables_set" id="_lNeR58dPx#O5DO{*$26">
                             <field name="VAR" id="=ernOSD@+(!G*CIm/F`~" variabletype="">Reminder</field>
                             <value name="VALUE">
                               <block type="get_value" id="$sC9Q`0cT@CgT|O@3|R@">
                                 <field name="ATTR">val</field>
                                 <field name="OID">javascript.0.manuell_angelegte_Datenpunkte.Ansicht.Fernsehprogramm.Reminder</field>
                               </block>
                             </value>
                             <next>
                               <block type="variables_set" id="A2CKgu+Ww!9TzKJ!kJ1]">
                                 <field name="VAR" id="swE4#iTU)q](,*G|E=O(" variabletype="">Uhrzeit Reminder</field>
                                 <value name="VALUE">
                                   <block type="text_getSubstring" id="yT7b+aDRe;UP7_t)N7YA">
                                     <mutation at1="true" at2="true"></mutation>
                                     <field name="WHERE1">FROM_START</field>
                                     <field name="WHERE2">FROM_START</field>
                                     <value name="STRING">
                                       <block type="variables_get" id="KUp*hf|tgO|.ts{N,e{M">
                                         <field name="VAR" id="=ernOSD@+(!G*CIm/F`~" variabletype="">Reminder</field>
                                       </block>
                                     </value>
                                     <value name="AT1">
                                       <block type="math_number" id="qj*]Jzrx]ZJ*Uj7p2~J?">
                                         <field name="NUM">1</field>
                                       </block>
                                     </value>
                                     <value name="AT2">
                                       <block type="math_number" id="?{=xox{NUL:1vOS!$}6x">
                                         <field name="NUM">5</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="e4S)shS.}y1agsw[`)X#">
                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                     <value name="VALUE">
                                       <block type="text_getSubstring" id="t5[_gm@^SVkL53[+-F({">
                                         <mutation at1="true" at2="true"></mutation>
                                         <field name="WHERE1">FROM_START</field>
                                         <field name="WHERE2">FROM_START</field>
                                         <value name="STRING">
                                           <block type="variables_get" id="?SeP21h!b/#A*t;r29!~">
                                             <field name="VAR" id="=ernOSD@+(!G*CIm/F`~" variabletype="">Reminder</field>
                                           </block>
                                         </value>
                                         <value name="AT1">
                                           <block type="math_arithmetic" id="2`%1W4E1$N[=tcTl7C:D">
                                             <field name="OP">ADD</field>
                                             <value name="A">
                                               <shadow type="math_number" id="GjNl]tOL9|bbTsPQmq@U">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                               <block type="text_indexOf" id="0)PNagLP1^@d`?6vlb@9">
                                                 <field name="END">FIRST</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="(0LG#iHp8mp]oK%RtDr:">
                                                     <field name="VAR" id="=ernOSD@+(!G*CIm/F`~" variabletype="">Reminder</field>
                                                   </block>
                                                 </value>
                                                 <value name="FIND">
                                                   <shadow type="text" id=")fX?2UcZJ5.@dPh!J[?x">
                                                     <field name="TEXT">,</field>
                                                   </shadow>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <shadow type="math_number" id="3h*Xd+:=u:kB;)h/@8Kt">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="AT2">
                                           <block type="math_arithmetic" id="r5A/YsWhK^#}BiFkExG3">
                                             <field name="OP">MINUS</field>
                                             <value name="A">
                                               <shadow type="math_number" id="%gi]C{:c*wdYBcpBA!xY">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                               <block type="text_indexOf" id="/+K,sj}hpS~82dH{YqC#">
                                                 <field name="END">LAST</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="=K0.k2ZQk$G-vR*GbFT!">
                                                     <field name="VAR" id="=ernOSD@+(!G*CIm/F`~" variabletype="">Reminder</field>
                                                   </block>
                                                 </value>
                                                 <value name="FIND">
                                                   <shadow type="text" id="JiYC_F;tK;[gAAoK`PuS">
                                                     <field name="TEXT">,</field>
                                                   </shadow>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <shadow type="math_number" id="RO_IP*IXy}O-u(SFM[f=">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="variables_set" id=":uw}+rzEZ~cb087A{HNf">
                                         <field name="VAR" id="lmW[FNpc;*9sNFlz.gYT" variabletype="">Schaltungszeit</field>
                                         <value name="VALUE">
                                           <block type="convert_from_date" id="N|DMY-S]BH6GBIL5$w|^">
                                             <mutation format="false" language="false"></mutation>
                                             <field name="OPTION">hh:mm</field>
                                             <value name="VALUE">
                                               <block type="math_arithmetic" id="4{T(Xl,AQ%#ntrfoC]Ho">
                                                 <field name="OP">MINUS</field>
                                                 <value name="A">
                                                   <shadow type="math_number" id="a/$QF)y!mRz`euXzb*(^">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="convert_from_date" id="^kDZkk^P.|JQtjb=()Hd">
                                                     <mutation format="false" language="false"></mutation>
                                                     <field name="OPTION">object</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="T[l|w7Hk*3Tx-kgqEs53">
                                                         <field name="VAR" id="swE4#iTU)q](,*G|E=O(" variabletype="">Uhrzeit Reminder</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number" id="xTijKFK+[t={75WlL`pj">
                                                     <field name="NUM">5</field>
                                                   </shadow>
                                                   <block type="math_arithmetic" id="@,maI~8gAl_S.GJ8shhr">
                                                     <field name="OP">MULTIPLY</field>
                                                     <value name="A">
                                                       <shadow type="math_number" id="sDFM%S3pD=0Z9+HnO,Po">
                                                         <field name="NUM">1000</field>
                                                       </shadow>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number" id="wiE7g~woC4g=3d]R8RIx">
                                                         <field name="NUM">300</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="controls_if" id="R=K8l9K1=T^~Y60!az#X">
                                             <value name="IF0">
                                               <block type="logic_compare" id="R{:hrk?uZ|uJ$nZ/E}hU">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="time_get" id="HS]~$=@u}5pDHwz$0,-9">
                                                     <mutation format="false" language="false"></mutation>
                                                     <field name="OPTION">hh:mm</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="variables_get" id="JpOv(Q|zOvNHH}Hu`Cr,">
                                                     <field name="VAR" id="lmW[FNpc;*9sNFlz.gYT" variabletype="">Schaltungszeit</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="[m,U#7|I.VkCpabKntVV">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">hs100.0.192_168_178_41.state</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="^.faN)-Rg#pCcslPOBy(">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="timeouts_settimeout" id="Amf=$Q--[li(VZ?Rp!ni">
                                                     <field name="NAME">timeout</field>
                                                     <field name="DELAY">5</field>
                                                     <field name="UNIT">sec</field>
                                                     <statement name="STATEMENT">
                                                       <block type="exec" id="`]-;Z)xtj7f5fd`gw4r9">
                                                         <mutation with_statement="false"></mutation>
                                                         <field name="WITH_STATEMENT">FALSE</field>
                                                         <field name="LOG">log</field>
                                                         <value name="COMMAND">
                                                           <shadow type="text" id="D@Bbv2An^vp8%F6m@)Lr">
                                                             <field name="TEXT">iobroker restart lgtv</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="control" id="A,},;8^j45#3uDzB4.9A">
                                                         <mutation delay_input="true"></mutation>
                                                         <field name="OID">lgtv.0.states.power</field>
                                                         <field name="WITH_DELAY">TRUE</field>
                                                         <field name="DELAY_MS">25</field>
                                                         <field name="UNIT">sec</field>
                                                         <field name="CLEAR_RUNNING">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="logic_boolean" id="3P/-n?KU4mOv07=O+JY!">
                                                             <field name="BOOL">TRUE</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="controls_if" id="sQ-_@P{Lx,|T?`=IX$~p">
                                                             <mutation elseif="25"></mutation>
                                                             <value name="IF0">
                                                               <block type="logic_compare" id="2$^z,Ou6u*Nh*l?wA9@$">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="Xq[5;dZh-PUIxsjs;o=O">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="X_#6/rd#]^9}RV4g[B_k">
                                                                     <field name="TEXT">Das Erste</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="control" id="8v`~Q!f+y`v/d.(*x6;-">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="?6NgT0UDh;~c6X=PMFTv">
                                                                     <field name="TEXT">101</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF1">
                                                               <block type="logic_compare" id="]JU.tBirTCi|CWz-d)(7">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="n!}=TPsKJbJcRr(qK^yx">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="-LA)?$*:Z`b}{gf5j?M`">
                                                                     <field name="TEXT">ZDF</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO1">
                                                               <block type="control" id=":Ie4JPQUi,88@l1]bn0X">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="C*{@.8,lP@n?|5.)*cVu">
                                                                     <field name="TEXT">102</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF2">
                                                               <block type="logic_compare" id="b]ph%@aPb|AFbIo4%tXa">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="EtY|SL@+vwL%gBO(gOXG">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="d((i|jUygvRC,ypE7JUu">
                                                                     <field name="TEXT">RTL</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO2">
                                                               <block type="control" id="$W#T/.l-UYP5F]sZfAr=">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="U9rPw5FImQ8:zm[p^l`d">
                                                                     <field name="TEXT">124</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF3">
                                                               <block type="logic_compare" id="VA9aDa5.79qQOCa~.Ur-">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="CsR1~N:~mMhT*0W8Cf2q">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="3(l{z~l_?yhE0xpxTi0Y">
                                                                     <field name="TEXT">Sat 1</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO3">
                                                               <block type="control" id="UQ`YejD*2{d)HhX1{}e5">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="nTs5Pf7q^CS)|FiS[99p">
                                                                     <field name="TEXT">125</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF4">
                                                               <block type="logic_compare" id="+B6]Ql3!W.2j(*gd,P,@">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="T{kq~wor),~h*gFg=?kc">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="wpe9)em,sf=vsU{motcl">
                                                                     <field name="TEXT">ProSieben</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO4">
                                                               <block type="control" id="^*8-eKpZ-|`OU0NBO/Z|">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="GWo.o?jckG-8i|iQ3L#t">
                                                                     <field name="TEXT">127</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF5">
                                                               <block type="logic_compare" id="I_Dj9Rz?m$g0rq,i35L{">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="h?VQ*xk|L]^ltC4+5u1f">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="jFTTiRpf:FTYNE@_i.eb">
                                                                     <field name="TEXT">kabel eins</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO5">
                                                               <block type="control" id="R=O@[f}N.sDruihRM%0[">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="IeYk}Sdl|cjDdkMI{0s`">
                                                                     <field name="TEXT">126</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF6">
                                                               <block type="logic_compare" id="@{6a5QwE0FW[h[^[3p4r">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="rgjPRQA.(xUq92x!dm#p">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="zXG,4Mxl-1!X6$7hJhDC">
                                                                     <field name="TEXT">RTL zwei</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO6">
                                                               <block type="control" id="Z{G]wCBoh?7|hx?{geKl">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="gm3,XWes`5l.3u9o4[1H">
                                                                     <field name="TEXT">129</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF7">
                                                               <block type="logic_compare" id="OY,EfDfra9?j5Z+l:jh[">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="1C,=SQyG[Io6GG|_eT!w">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="6gAc6$rL}t386/v7-b1(">
                                                                     <field name="TEXT">VOX</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO7">
                                                               <block type="control" id="J5/J72=tx?@7h.*DE`?r">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="jsHo#HkwirGRd*tZ+80P">
                                                                     <field name="TEXT">128</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF8">
                                                               <block type="logic_compare" id="!Q6e[=h)?6Su;k-RN:g_">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="6Z8gt1Exa`RRYO@I{m_u">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="_^/|QPH8,Jwg6c.6!20}">
                                                                     <field name="TEXT">Arte</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO8">
                                                               <block type="control" id="t[)58V21F}.5t_99k{C6">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="yBa[y_(2Zrxx@Hv6TorU">
                                                                     <field name="TEXT">112</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF9">
                                                               <block type="logic_compare" id="xa=s`E@zq3|t[E.6^yqE">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="f#al%Y~$PAn[9A%Tq{?K">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="X=Bq9j5=lt+@!9U,Uw8e">
                                                                     <field name="TEXT">3sat</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO9">
                                                               <block type="control" id="d;_w;^p5e9=Qy38PjEW8">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="/q!/Tc1lLQmoY5qm8weV">
                                                                     <field name="TEXT">111</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF10">
                                                               <block type="logic_compare" id="YB$Nkv:O`xc?xmt)y4(F">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="$Q3h=v:KP5.RBgM*pU;N">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id=",-*M%+ii66fz$#6DRY]0">
                                                                     <field name="TEXT">NDR</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO10">
                                                               <block type="control" id=",CHQWG09mX6/4/G9T_nh">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="xRgSjdJft~hQSQQ%tSBw">
                                                                     <field name="TEXT">150</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF11">
                                                               <block type="logic_compare" id="t91~#@,dXTDeRoVue*U1">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="b-e6|[.7+#tBDtI5L.he">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="fa2}E}^?f??_rEz@0Aw{">
                                                                     <field name="TEXT">WDR</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO11">
                                                               <block type="control" id="n#=d?|s)suac2,n;qA1Q">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="^$_TN!;tolMo,Eo_C:Ry">
                                                                     <field name="TEXT">168</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF12">
                                                               <block type="logic_compare" id="JX%sP)YP[v)A0U1x;nUa">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="o%K6Va[ZDKTXe^SYI+7)">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="0SMBr1=YtK_8dcel)*PR">
                                                                     <field name="TEXT">MDR</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO12">
                                                               <block type="control" id=")?3fD05hqEgJEUc~^bL0">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="_r(K9fLpf(qQ;:WJ@_rT">
                                                                     <field name="TEXT">148</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF13">
                                                               <block type="logic_compare" id="xJ^leuEE8_tf7au,_H.f">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="1DbsF^-ci/NFBq:9F,Q1">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="@=Lil-w;`l$e`;;JhlAo">
                                                                     <field name="TEXT">BR</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO13">
                                                               <block type="control" id="$)a+aYQ.4PcT.@=m@)q5">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="[`+e,UxI9Q#y/vy}27o4">
                                                                     <field name="TEXT">144</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF14">
                                                               <block type="logic_compare" id="_50e$c{_dpQEpCAh)#0$">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="RRg^#nBCJ2_P;.?}}l.W">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="AAJ:W*N@]14!H!eYt|Ul">
                                                                     <field name="TEXT">SWR</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO14">
                                                               <block type="control" id="::d0jWYX{,-r6~2(fGv3">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="yjVjdRE,m|c1Vu@`(f3?">
                                                                     <field name="TEXT">159</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF15">
                                                               <block type="logic_compare" id="q69bED1dNbd^+7yUr$5f">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="+Adp$T2;VY%dl%(z@SkX">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="#!$?SJOOM]q::jGNzzUH">
                                                                     <field name="TEXT">HR</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO15">
                                                               <block type="control" id="W]_khQ:nmw!UXKt;W,J=">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="C,,Z*#x:x$|Am0(/aQFY">
                                                                     <field name="TEXT">146</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF16">
                                                               <block type="logic_compare" id="P:H|+$yGGP}CWipK-EZg">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id=".Boohdxn{=*VsA*VH`hb">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="M:TKF}Jsn7D(Yqw3kqBh">
                                                                     <field name="TEXT">RBB</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO16">
                                                               <block type="control" id="wjZSY8(A/{.@[5mogG3Z">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="@[GBZ$]`m^Yzp[sHdCBE">
                                                                     <field name="TEXT">156</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF17">
                                                               <block type="logic_compare" id="bcL9A9q[cw[AZ!+b*5G(">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id=",}y^i2+t/59yfD|lLn~$">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="*YiZwFlxUu4EH=ElMMOr">
                                                                     <field name="TEXT">Phoenix</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO17">
                                                               <block type="control" id="Utkt6bgN?7}qk*KnUjna">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="2{5G@e5Amq!$?/;Ke1yl">
                                                                     <field name="TEXT">347</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF18">
                                                               <block type="logic_compare" id="19JhzRy3A{;m^6-[~7#O">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id=".AZEs|LN2_2IpzJ~m=Vy">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="u;gnH`YfC:G8rBkoM9,!">
                                                                     <field name="TEXT">ARD alpha</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO18">
                                                               <block type="control" id="An!7`m53{9s$1rPUC{6*">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="pyjY|0?QyltK*BCWX,cf">
                                                                     <field name="TEXT">325</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF19">
                                                               <block type="logic_compare" id="%ju2F_/:Zlo2tnbXxWjz">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="|{N.etJ0c//_OV/r.UKw">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="uD5jHT3f|($?:CeGjqgZ">
                                                                     <field name="TEXT">ZDFneo</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO19">
                                                               <block type="control" id="n]poQ2Fv*d66XmF7O4+f">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id=")%3L$.mAcFY*VkeefVyq">
                                                                     <field name="TEXT">237</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF20">
                                                               <block type="logic_compare" id="sch^;Qkd|qe6jT81UT|}">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="sx298}g/gB!-k5y1y|q4">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="4H8bT!^YmJL6D$vcWgQv">
                                                                     <field name="TEXT">ZDFinfo</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO20">
                                                               <block type="control" id="Lx*c+Y=T0E;RDoyddPM^">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id=".35?ux{SsOo:zK{Via_C">
                                                                     <field name="TEXT">329</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF21">
                                                               <block type="logic_compare" id="I?=QNFq,Q(!2iM5M7BVj">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="47]d2wlCO^tRReb;TkHZ">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="Apf1?Gxu%+cCv`r:|A^l">
                                                                     <field name="TEXT">One</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO21">
                                                               <block type="control" id="|jkjTWwvlud`m;nvP1fh">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="X5F%#^aKVGe^7oRZ$R|N">
                                                                     <field name="TEXT">232</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF22">
                                                               <block type="logic_compare" id="qTf:2a|J?LUrnzyl(Gg#">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="?F2A6aJ!|U@0$OLUy`me">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="A!%Zxsy#aB`vT]sv{^%9">
                                                                     <field name="TEXT">n-tv</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO22">
                                                               <block type="control" id="B@anfPG~%SgeV7Hw@u_g">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="*2vLoylY;c3p2*(}+w[J">
                                                                     <field name="TEXT">390</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF23">
                                                               <block type="logic_compare" id="?]Vf#Sp6WhlpCtt_OfY%">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="nmu+o.CEaW`9NT.K$bn?">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="~.e)`DIFWm6zM:Olq-JY">
                                                                     <field name="TEXT">Sixx</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO23">
                                                               <block type="control" id="tZ$U5hF2fWMLvhXz!)D@">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="fS:;[K/Su*R[M%:O*@w8">
                                                                     <field name="TEXT">130</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF24">
                                                               <block type="logic_compare" id="}:/l5:YYY+3|hB`2}.E+">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="zo*G=8eNx#s^ol=#lq0%">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id=".K3`KQ_1^q?(x;p:%9:E">
                                                                     <field name="TEXT">Servus TV</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO24">
                                                               <block type="control" id="bo61yH@AR+kgX_K[qp4I">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="i|LZ_kIk@gikDaV97KD(">
                                                                     <field name="TEXT">113</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                             <value name="IF25">
                                                               <block type="logic_compare" id="Ol{X1#n:Md$s`y^I^d/a">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="tnus$Tv{M)Yuy:G+WfZo">
                                                                     <field name="VAR" id="-6i2pLCqR8@Ix*pL{AL," variabletype="">Programm</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="zzkrOZ*Kf@Id$XUHF[`H">
                                                                     <field name="TEXT">NITRO</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO25">
                                                               <block type="control" id="nd,7C3I~iZWeECwwoio-">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">lgtv.0.states.channel</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">45</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="{go]k#IeKk$st$,OKguI">
                                                                     <field name="TEXT">252</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </next>
           </block>
         </statement>
       </block>
      </xml>
      

      Ich nutze einen LG-TV, der nun bei Nutzung des Reminders automatisch geschaltet wird:

      5 Min. vor Beginn der Sendung geht die Steckdose an,
      dann wird der LG-Adapter neu gestartet,
      dann der TV angeschaltet,
      dann der Kanal eingestellt, der im Reminder ausgewählt wurde.

      1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @PatrickFro last edited by

        @PatrickFro sagte in TV Programm Mini Anzeige - HTML Tabelle:

        @liv-in-sky

        Vielen Dank für den Hinweis. Ich habe noch keinen Grund gefunden, weshalb es bei mir nicht geht. Du hast ja gestern mehrfach angemerkt, dass mein IoBroker komisch reagiert, warum also sollte mein Tab mit Fully anders laufen 😉

        weil das aufrufen des links nix mehr mit iobroker zu tun hat 😞

        probier mal chrome zu deinstallieren auf dem firetablet

        P Chaot 2 Replies Last reply Reply Quote 0
        • P
          PatrickFro @liv-in-sky last edited by

          @liv-in-sky das weiß ich doch, aber meine Technik ist eben "besonders"...
          Hat nichts gebracht, ist aber auch nicht so schlimm.

          1 Reply Last reply Reply Quote 0
          • Chaot
            Chaot @liv-in-sky last edited by Chaot

            @liv-in-sky Hast du eigentlich mittlerweile das Script weiterentwickelt?
            Ich meine weil du da "request" benutzt, das ja deprecated ist.

            liv-in-sky 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Chaot last edited by

              @Chaot

              hi - ich bin immer noch verwundert, dass diese scripte überhaupt noch laufen - die webseite scheint nicht wirklich verändert zu werden (klopfe auf holz)

              solange request noch im system eingebunden ist, ist da keine eile. der request ansich funktioniert ja - und wird es solange tun, bis entweder request aus iobroker deinstalliert wird oder sich die webzugriffe so ändern, dassman ein anderes vorgehen benötigt

              im moment versuche ich eher neue scripte erstmal mit axios zu machen - wenn diese scripte hier wegen neuer webseite nicht mehr funktionieren, werde ich wahrscheinlich (falls ich dann ein update mache) die axios sache miteinbinden

              Chaot 1 Reply Last reply Reply Quote 0
              • Chaot
                Chaot @liv-in-sky last edited by

                @liv-in-sky Danke dir.
                Ja, das die Scripte noch laufen ist eine feine Sache. Der TV-Spielfilm Adapter ist leider so, dass er bei der VIS meine ältere Hardware in die Knie zwingt. Das passiert mit dem Script nicht.

                liv-in-sky 1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @Chaot last edited by

                  @Chaot
                  ich habe das ja gemacht, weil der adapter nicht alle sender hatte - das hatte mich schon vor jahren genervt und dann hab ich ihn gleich wieder gelöscht

                  O 1 Reply Last reply Reply Quote 0
                  • O
                    Oli @liv-in-sky last edited by

                    @liv-in-sky

                    ich habe mir mal zum Testen der Umschaltefunktion das Script aus folgenden Post kopiert:

                    https://forum.iobroker.net/topic/28447/tv-programm-mini-anzeige-html-tabelle/199

                    Leider bekomme ich folgende Fehlermeldung:

                    10:31:49.659	error	javascript.0 (790) script.js.TV_Programm.Test: TypeError: Cannot read property 'split' of null
                    10:31:49.660	error	javascript.0 (790) at script.js.TV_Programm.Test:190:60
                    

                    Habe ich da was vergessen einzustellen, oder woran könnte das liegen?

                    liv-in-sky 2 Replies Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @Oli last edited by liv-in-sky

                      @Oli

                      kann es sein, dass du mit firefox kopiert hast und du viele zeilenabstände im script hast ?

                      bei mir hat das script insgesamt 508 zeilen - bei dir ?

                      O 1 Reply Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @Oli last edited by

                        @Oli und hast du den datenpunkt

                        angelegt - du kannst da in userdata_0 einen datenpunkt anlegen und im script ändern - controll-own ist eine alte struktur von mir

                        Image 1.png

                        der "split" fehler wäre bei mir in zeile 183 - da kommt der vor

                        1 Reply Last reply Reply Quote 0
                        • O
                          Oli @liv-in-sky last edited by

                          @liv-in-sky

                          Sorry, hatte mir oben gleich die Datenpunkte anlegen lassen, habe das Script nochmal kopiert, gleicher Fehler

                          10:56:20.723	error	javascript.0 (790) script.js.TV_Programm.Test: TypeError: Cannot read property 'split' of null
                          10:56:20.724	error	javascript.0 (790) at script.js.TV_Programm.Test:183:60
                          

                          Einstellungen:

                          //HIER WIRD PFAD UND FILENAME DEFINIERT
                          const path = "/htmltvjetzt.html";                   //FIlenamen definieren
                          const home ='vis.0'                                 //wo soll das file im iobroker-file-system liegen ? (oder z.b auch iqontrol.meta)
                          let   braucheEinFile=false;                          // bei true wird ein file geschrieben
                          let   braucheEinVISWidget=true;                     // bei true wird ein html-tabelle in einen dp geschrieben - siehe nächste zeile
                          let dpVIS="javascript.0.TV.Programm.Tabelle Test"         //WICHTIG wenn braucheEinVISWidget auf true gesetzt !!  dp zusätzlich für VIS-HTML-Basic-Widget Type: String
                          let dpVISReminder="javascript.0.TV.Programm.TVReminder"          //WICHTIG wenn braucheEinVISWidget auf true gesetzt !!  dp zusätzlich für VIS-HTML-Basic-Widget Type : String
                          let dpVISUmschalter="javascript.0.TV.Programm.TVUmschalten"          //WICHTIG wenn braucheEinVISWidget auf true gesetzt !!  dp zusätzlich für VIS-HTML-Basic-Widget Type : String
                          let mySchedule="  */20 9-23,0 * * * ";                        
                          let symbolLink="📌";                                                                    //  👎  💀 ❌  ⚪  ⚫ ⭕  🔴 🔵 🌎 🚩 🗺 🕸️ 📌 📺
                          let symbolLinkhoerzu="📺"
                          let farbeSchalterON="blue";
                          let farbeSender="white"
                          let infoLink=true;
                          let erinnerung=true;
                          let umschalter=true;
                          let symbolLinkReminder="⏰";
                           let symbolLinkUmschalter="📺";
                           let farbeErinnerung="white";          // farbe des reminders in tabelle
                           let symbolSavedReminder="🔔";                     //  das symbol am ende der tabelle für gesicherte reminder
                          
                          liv-in-sky 1 Reply Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @Oli last edited by

                            @Oli schreib mal ein leerzeichen in den datenpunkt "javascript.0.TV.Programm.TVReminder" - von hand

                            O 1 Reply Last reply Reply Quote 0
                            • O
                              Oli @liv-in-sky last edited by

                              @liv-in-sky
                              komisch, jetzt funktioniert es, obwohl der Datenpunkt ohne Leerzeichen angelegt ist

                              liv-in-sky 2 Replies Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @Oli last edited by

                                @Oli hauptsache es läuft 🙂

                                O 1 Reply Last reply Reply Quote 0
                                • O
                                  Oli @liv-in-sky last edited by

                                  @liv-in-sky

                                  noch eine Frage, im den Scripten oben, kann ich ja unterscheiden, was angezeigt (Jetzt, 20:15, usw.) werden soll, wie kann ich das mit diesem Script realisieren?

                                  Fand diese Variante eigentlich super, aber da fehlt leider das umschalten, oder habe ich da was missverstanden?

                                  liv-in-sky 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @Oli last edited by

                                    @Oli garnicht - zeigt von jetzt die nächsten 3 - habe das nicht kombimiert

                                    weiß nicht mehr ob es da ein problem gab oder ob ich einfach nicht wollte - ich probier mal was

                                    O 1 Reply Last reply Reply Quote 0
                                    • O
                                      Oli @liv-in-sky last edited by

                                      @liv-in-sky
                                      super danke

                                      1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @Oli last edited by liv-in-sky

                                        @Oli hier ein script zum wählen - ist aber nicht so komplex eingebunden wie bei dem anderen script - geht über externes widget

                                        anim-gif29.gif

                                        neuen datenpunkt einrichten - ist dazugekommen !

                                        Image 3.png

                                        // @liv-in-sky 19.12.2020-12:19
                                        
                                        
                                        //HIER WIRD PFAD UND FILENAME DEFINIERT
                                        const path = "/htmltvjetzt.html";                   //FIlenamen definieren
                                        const home ='vis.0'                                 //wo soll das file im iobroker-file-system liegen ? (oder z.b auch iqontrol.meta)
                                        let   braucheEinFile=true;                          // bei true wird ein file geschrieben
                                        let   braucheEinVISWidget=true;                     // bei true wird ein html-tabelle in einen dp geschrieben - siehe nächste zeile
                                        let dpVIS="controll-own.0.TABELLEN.TVjetzt3Spalten"         //WICHTIG wenn braucheEinVISWidget auf true gesetzt !!  dp zusätzlich für VIS-HTML-Basic-Widget Type: String
                                        let dpVISReminder="controll-own.0.TABELLEN.TVReminder"          //WICHTIG wenn braucheEinVISWidget auf true gesetzt !!  dp zusätzlich für VIS-HTML-Basic-Widget Type : String
                                        let dpVISUmschalter="controll-own.0.TABELLEN.TVUmschalter"          //WICHTIG wenn braucheEinVISWidget auf true gesetzt !!  dp zusätzlich für VIS-HTML-Basic-Widget Type : String
                                        let dpVISExtZeit="controll-own.0.TABELLEN.TVExternZeit" ;           //Typ Zeichenkette
                                        let mySchedule="  */15 9-23,0 * * * ";                        
                                        let symbolLink="📌";                                                                    //  👎  💀 ❌  ⚪  ⚫ ⭕  🔴 🔵 🌎 🚩 🗺 🕸️ 📌 📺
                                        let symbolLinkhoerzu="📺"
                                        let farbeSchalterON="blue";
                                        let farbeSender="white"
                                        let infoLink=true;
                                        let erinnerung=true;
                                        let umschalter=true;
                                        let symbolLinkReminder="⏰";
                                         let symbolLinkUmschalter="📺";
                                         let farbeErinnerung="white";          // farbe des reminders in tabelle
                                         let symbolSavedReminder="🔔";                     //  das symbol am ende der tabelle für gesicherte reminder
                                        //---------------------------------------
                                        
                                        //HIER DIE SPALTEN ANZAHL DEFINIEREN - jede Spalte einen Wert - in diesem Beispiel sind es 3
                                        var htmlFeld1='';      var Feld1lAlign="left";                     // überschrift Tabellen Spalte1 und  Ausrichtung left,right or center
                                        var htmlFeld2='';        var Feld2lAlign="center";                      // überschrift Tabellen Spalte2 und  Ausrichtung left,right or center
                                        var htmlFeld3='';         var Feld3lAlign="left";                    // überschrift Tabellen Spalte3 und  Ausrichtung left,right or center
                                        //-----------------------------------
                                        
                                        
                                        //hier werden die styles für die tabelle definiert
                                        //ÜBERSCHRIFT ÜBER TABELLE
                                        let   htmlUberschrift=false;                           // mit Überschrift über der tabelle
                                        let   htmlSignature=false;                              // anstatt der Überscghrift eine signature: - kleiner - anliegend
                                        const htmlFeldUeber='Jetzt im TV Programm';              // Überschrift und Signature
                                        const htmlFarbUber="white";                         // Farbe der Überschrift
                                        const htmlSchriftWeite="normal";                       // bold, normal - Fettschrift für Überschrift
                                        const htmlÜberFontGroesse="18px";                       // schriftgröße überschrift
                                        //MEHRERE TABELLEN NEBENEINANDER
                                        let   mehrfachTabelle=3;                              // bis zu 4 Tabellen werden nebeneinander geschrieben-  verkürzt das Ganze, dafür etwas breiter - MÖGLICH 1,2,3,oder 4 !!!
                                        const trennungsLinie="2";                             //extra trennungslinie bei mehrfachtabellen - evtl auf 0 stellen, wnn htmlRahmenLinien auf none sind
                                        const farbetrennungsLinie="white";
                                        const htmlFarbZweiteTabelle="white";                // Farbe der Überschrift bei jeder 2.ten Tabelle
                                        const htmlFarbTableColorUber="#BDBDBD";               // Überschrift in der tabelle - der einzelnen Spalten
                                        //ÜBERSCHRIFT SPALTEN
                                        const UeberSchriftHöhe="35";                          //Überschrift bekommt mehr Raum - darunter und darüber - Zellenhöhe
                                        const LinieUnterUeberschrift="3";                   // Linie nur unter Spaltenüberschrift - 
                                        const farbeLinieUnterUeberschrift="white";
                                        const groesseUeberschrift=16;
                                        const UeberschriftStyle="normal"                     // möglich "bold"
                                        //GANZE TABELLE
                                        let abstandZelle="1";
                                        let farbeUngeradeZeilen="#000000";                     //Farbe für ungerade Zeilenanzahl - Hintergrund der Spaltenüberschrift bleibt bei htmlFarbTableColorGradient1/2
                                        let farbeGeradeZeilen="#151515";                        //Farbe für gerade Zeilenanzahl - Hintergrund der Spaltenüberschrift bleibt bei htmlFarbTableColorGradient1/2
                                        let weite="auto";                                     //Weite der Tabelle
                                        let zentriert=true;                                   //ganze tabelle zentriert
                                        const backgroundAll="#000000";                        //Hintergrund für die ganze Seite - für direkten aufruf oder iqontrol sichtber - keine auswirkung auf vis-widget
                                        const htmlSchriftart="Helvetica";
                                        const htmlSchriftgroesse="14px";
                                        //FELDER UND RAHMEN
                                        let   UeberschriftSpalten=true;                // ein- oder ausblenden der spatlen-überschriften
                                        const htmlFarbFelderschrift="#BDBDBD";                  // SchriftFarbe der Felder
                                        const htmlFarbFelderschrift2="#D8D8D8";                 // SchriftFarbe der Felder für jede 2te Tabelle
                                        const htmlFarbTableColorGradient1="#424242";          //  Gradient - Hintergrund der Tabelle - Verlauffarbe
                                        const htmlFarbTableColorGradient2="#424242";          //  Gradient - Hintergrund der Tabelle - ist dieser Wert gleich Gradient1 gibt es keinen verlauf
                                        const htmlFarbTableBorderColor="grey";             // Farbe des Rahmen - is tdieser gleich den gradienten, sind die rahmen unsichtbar
                                        let htmlRahmenLinien="none";                            // Format für Rahmen: MÖGLICH: "none" oder "all" oder "cols" oder "rows"
                                        const htmlSpalte1Weite="auto";                   //  Weite der ersten beiden  Spalten oder z.b. 115px
                                        
                                        // HIER NICHTS  ÄNDERN
                                        
                                        let borderHelpBottum;
                                        let borderHelpRight;
                                        let htmlcenterHelp;
                                        let htmlcenterHelp2;
                                        
                                        if(htmlRahmenLinien=="rows") {borderHelpBottum=1;borderHelpRight=0;}
                                        if(htmlRahmenLinien=="cols") {borderHelpBottum=0;borderHelpRight=1;}
                                        if(htmlRahmenLinien=="none") {borderHelpBottum=0;borderHelpRight=0;}
                                        if(htmlRahmenLinien=="all")  {borderHelpBottum=1;borderHelpRight=1;}
                                        zentriert ? htmlcenterHelp="auto" : htmlcenterHelp="left";
                                        zentriert ? htmlcenterHelp2="center" : htmlcenterHelp2="left";
                                        
                                        
                                        const htmlZentriert='<center>'
                                        const htmlStart=    "<!DOCTYPE html><html lang=\"de\"><head><title>Vorlage</title><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">"+
                                                           "<style> * {  margin: 0;} body {background-color: "+backgroundAll+"; margin: 0 auto;  }"+
                                                           " p {padding-top: 10px; padding-bottom: 10px; text-align: "+htmlcenterHelp2+"}"+
                                                          // " div { margin: 0 auto;  margin-left: auto; margin-right: auto;}"+
                                                          "a:link { text-decoration:none;}"+
                                                           " td { padding:"+abstandZelle+"px; border:0px solid "+htmlFarbTableBorderColor+";  border-right:"+borderHelpRight+"px solid "+htmlFarbTableBorderColor+";border-bottom:"+borderHelpBottum+"px solid "+htmlFarbTableBorderColor+";}"+ 
                                                           " table { width: "+weite+";  margin: 0 "+htmlcenterHelp+"; border:1px solid "+htmlFarbTableBorderColor+"; border-spacing=\""+abstandZelle+"0px\" ; }"+   // margin macht center
                                                           "td:nth-child(1) {width: "+htmlSpalte1Weite+"}"+"td:nth-child(2) {width:"+htmlSpalte1Weite+"}"+
                                                           " </style></head><body> <div>";
                                        //const htmlUeber=    "<p style=\"color:"+htmlFarbUber+"; font-family:"+htmlSchriftart+"; font-weight: bold\">"+htmlFeldUeber+"</p>";                    
                                        const htmlTabStyle= "<table bordercolor=\""+htmlFarbTableBorderColor+"\" border=\"2px\" cellspacing=\""+abstandZelle+"\" cellpadding=\""+abstandZelle+"\" width=\""+weite+"\" rules=\""+htmlRahmenLinien+"\" style=\"color:"+htmlFarbFelderschrift+";  font-size:"+htmlSchriftgroesse+
                                                              "; font-family:"+htmlSchriftart+";background-image: linear-gradient(42deg,"+htmlFarbTableColorGradient2+","+htmlFarbTableColorGradient1+");\">";
                                        const htmlTabUeber1="<tr height=\""+UeberSchriftHöhe+"\" style=\"color:"+htmlFarbTableColorUber+"; font-size: "+groesseUeberschrift+"px; font-weight: "+UeberschriftStyle+" ;  border-bottom: "+LinieUnterUeberschrift+"px solid "+farbeLinieUnterUeberschrift+" \">";
                                        const htmlTabUeber3="</tr>";
                                        
                                        
                                        //NICHTS ÄNDERN - abhängig von den oben definierten _Spalten - in diesem Beispiel sind es 3
                                        
                                           	var htmlTabUeber2="<td width="+htmlSpalte1Weite+" align="+Feld1lAlign+">&ensp;"+htmlFeld1+"&ensp;</td><td width="+htmlSpalte1Weite+" align="+Feld2lAlign+">&ensp;"+htmlFeld2+"&ensp;</td><td  align="+Feld3lAlign+">&ensp;"+htmlFeld3+"&ensp;&ensp;&ensp;<a href=\"https:\/\/"+ "www.hoerzu.de\/tv-programm\/" + "\" target=\"_blank\" onclick=\"window.open(this.href,this.target,\'width=960,height=640\'); return false;\">"+symbolLinkhoerzu+"</a></td>";
                                        var htmlTabUeber2_1="<td width="+htmlSpalte1Weite+" align="+Feld1lAlign+" style=\"color:"+htmlFarbZweiteTabelle+"\">&ensp;"+htmlFeld1+"&ensp;</td><td width="+htmlSpalte1Weite+"  align="+Feld2lAlign+" style=\"color:"+htmlFarbZweiteTabelle+"\">&ensp;"+htmlFeld2+
                                                           "&ensp;</td><td  align="+Feld3lAlign+" style=\"color:"+htmlFarbZweiteTabelle+"\">&ensp;"+htmlFeld3+"&ensp;</td>";
                                        const buttonScript = '<script> function setOnClickCustom( myvalue ) {	var Self = this; var objID = myvalue;	 var2 = \"' + dpVISReminder + '\"; Self.servConn.setState(var2, myvalue);  console.log(myvalue); } ' +
                                                                     ' function setOnClickUmschalt( myvalue ) {	var Self = this; var objID = myvalue;	 var2 = \"' + dpVISUmschalter + '\"; Self.servConn.setState(var2, myvalue);  console.log(myvalue); } ' +
                                                            ' function schliesseWindowA(valButtonSingle, namely, auswahl) { console.log(namely); valButtonSingle=valButtonSingle+\"?dummyParameter=\"+new Date().getTime(); console.log(valButtonSingle); window[namely]=window.open(valButtonSingle ,\'_blank\',\' width=680, height=640 , top=170,  left=200\'); console.log(auswahl);setOnDblClickCustom(auswahl); setTimeout (function() \{ window[namely].close(); console.log(\"close\"); \}, 20000);} </script>'              
                                        //------------------------------------------------------
                                        var url;
                                        var url1='https://www.hoerzu.de/tv-programm/jetzt/';
                                        var url2='https://www.hoerzu.de/tv-programm/heute/'+getState(dpVISExtZeit).val+'/';
                                        const request = require('request-promise-native');
                                        let auswahlHelp=1;
                                        var htmlTabUeber="";
                                        var htmlOut="";
                                        var mix;
                                        var counter;
                                        //HIER SIND DIE  WERTE, DIE IN DER SCHLEIFE GEFILTERET WER%DEN - Jede spalte einen wert - jeder valx muss in dieser schleife gesetzt werden !!
                                        var val1; var val0; var val2;
                                        
                                        async function writeHTML(myurl){
                                           log(myurl)
                                        url=myurl
                                        
                                        
                                        
                                        htmlOut="";
                                        
                                        counter=-1;
                                        htmlTabUeber="";
                                        switch (mehrfachTabelle) { 
                                           case 1: htmlTabUeber=htmlTabUeber1+htmlTabUeber2+htmlTabUeber3;  break;
                                           case 2: htmlTabUeber=htmlTabUeber1+htmlTabUeber2+htmlTabUeber2_1+htmlTabUeber3; break;
                                           case 3: htmlTabUeber=htmlTabUeber1+htmlTabUeber2+htmlTabUeber2_1+htmlTabUeber2+htmlTabUeber3; break;
                                           case 4: htmlTabUeber=htmlTabUeber1+htmlTabUeber2+htmlTabUeber2_1+htmlTabUeber2+htmlTabUeber2_1+htmlTabUeber3; break;
                                        };   
                                        if (!UeberschriftSpalten) {htmlTabUeber=""}
                                        
                                        
                                        //--------------------------------------------------------------------------------------------------------------------------------------------------
                                        //---------hier kommt eure schleife rein counter++, tabelleBind() und tabelleFinish() müssen so integriert bleiben !!!------------------------------
                                        //---------alle valx werte müssen von euch bestimmt werden - val0,val1,val2 !!!---------------------------------------------------------------------
                                        //--------------------------------------------------------------------------------------------------------------------------------------------------
                                        
                                        
                                        getTV().then(function() {
                                          
                                        
                                        var myOjects= myObjFilterHelp;
                                        
                                        
                                        //var myOjects=holeTV();
                                        for (var index in myOjects) {   
                                                  counter++;                                       // SEHR WICHTIG - MUSS IN JEDER SCHLEIFE INTEGRIERT SEIN
                                                   
                                              val1=myOjects[index][0]; val1=val1.replace( /,/g , "");/*log(val1);*/ var val1help=val1; //val1="um "+val1; //zeit
                                              var val0help=myOjects[index][1];
                                              val0=val0help  ; val0=val0.replace( /,/g , "");
                                             
                                              val2=myOjects[index][2]; val2=val2.replace( /,/g , ""); val2=val2.replace(/-$/,"");    // val2=val2.substring(0,37)+" ..."; //log(val2);
                                               let valButton2;let valButton3;
                                              
                                              if (val2.length>=33)   val2=val2.substring(0,32)+" ..."  //log(val2);
                                              if (erinnerung && counter%3==0 ) {valButton2=val1help+","+ val0 + "," + val2; val0="<button style\=\"border:none\; background-color\:transparent\; color\:white\; font\-size\:1em\; text\-align:left\" value=\"toggle\" onclick=\"setOnClickCustom\(\'"+valButton2+"\')\">"+symbolLinkReminder + "</button>"+val0;val0="<font color=\""+farbeSender+"\">"+val0+"</font>"}
                                               else if (erinnerung && counter%3!=0) {valButton2=val1help+","+ val0 + "," + val2; val0="<button style\=\"border:none\; background-color\:transparent\; color\:white\; font\-size\:1em\; text\-align:left\" value=\"toggle\" onclick=\"setOnClickCustom\(\'"+valButton2+"\')\">"+symbolLinkReminder + "</button>";}
                                              if (!erinnerung && counter%3==0 ) {val0=myOjects[index][1]; val0=val0.replace( /,/g , "");val0="<font color=\""+farbeSender+"\">"+val0+"</font>"}
                                               else if (!erinnerung && counter%3!=0 ) {val0="";} 
                                            
                                              let valButton=myOjects[index][3]; valButton='https://www.hoerzu.de/tv-programm'+valButton; //log(valButton);                                                                                                   //, \'_blank\'
                                              let namlyMain= "mywin"+index;  
                                              if (infoLink) val2="<button style\=\"border:none\; background-color\:transparent\; color\:white\; font\-size\:1em\; text\-align:left\"  onclick=\"schliesseWindowA\(\'"+valButton+"\', \'"+namlyMain+"\', \'"+auswahlHelp+"\')\">"+symbolLink+" </button>" +val2;
                                              if (umschalter && counter%3==0 ) { valButton3=val0help
                                                               val0="<button style\=\"border:none\; background-color\:transparent\; color\:white\; font\-size\:1em\; text\-align:left\" value=\"toggle\" onclick=\"setOnClickUmschalt\(\'"+valButton3+"\')\">"+symbolLinkUmschalter + "</button>"+val0;}
                                        
                                             tabelleBind(); 
                                            
                                        
                                           }; 
                                             if (erinnerung && existsState(dpVISReminder)){
                                                      if (getState(dpVISReminder).val!=""){
                                                           var valHelpi=getState(dpVISReminder).val.split(",")
                                                           val0="&ensp;"+symbolSavedReminder+"<i> <font color=\""+farbeErinnerung+"\">"+valHelpi[1]+"</i>";  
                                                           if (valHelpi[0]!=undefined){
                                                               let  istGueltig=formatDate(getDateObject((parseFloat((new Date().getTime())))), "SS:mm")
                                             
                                                               if ( ((parseFloat((valHelpi[0].slice(0, (valHelpi[0].indexOf(':') + 1) - 1))) *60) + parseFloat((valHelpi[0].slice(((valHelpi[0].indexOf(':') + 1 + 1) - 1), valHelpi[0].length)))) >=  ((parseFloat((istGueltig.slice(0, (istGueltig.indexOf(':') + 1) - 1))))*60)  + parseFloat((istGueltig.slice(((istGueltig.indexOf(':') + 1 + 1) - 1), istGueltig.length))) )  {
                                                                    counter++;   //log("ist true")            
                                                                    val1="<i><font color=\""+farbeErinnerung+"\">um "+valHelpi[0]+"</i>";
                                                                    val2="<i><font color=\""+farbeErinnerung+"\">&ensp;&ensp;&ensp;"+valHelpi[2]+"<i>";
                                                                    tabelleBind();} 
                                                               else {setState(dpVISReminder,"");}
                                           
                                                                                       } } }
                                        
                                        }).then(tabelleFinish)
                                        
                                        //-------------------------------------------------------------------------------------------------------------------------------------------------
                                        //--------------------------------------------------Ende der schleife------------------------------------------------------------------------------
                                        //-------------------------------------------------------------------------------------------------------------------------------------------------
                                        
                                         
                                             
                                        } // function ende
                                        
                                        //MAIN:
                                         
                                        schedule(mySchedule,  function () { 
                                         writeHTML(url1);
                                         //if (braucheEinFile) {writeFile(home, path ,htmlOut, function (error) { /* log('file written');*/  });}
                                        }); 
                                        writeHTML(url1);
                                        //writeFile(home, path ,htmlOut, function (error) { /* log('file written');*/  });
                                        
                                        async function tabelleBind(){
                                           //  counter=counter+mehrfachTabelle;
                                               switch (mehrfachTabelle) { 
                                        
                                                 case 1: if(counter%2==0)         {  htmlOut=htmlOut+"<tr bgcolor=\""+farbeGeradeZeilen+"\"><td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td></tr>"; break;}else    
                                                                                  {  htmlOut=htmlOut+"<tr bgcolor=\""+farbeUngeradeZeilen+"\"><td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td></tr>"; break;}
                                                 case 2: if(counter%4==0){
                                                            if(counter%2==0)  {htmlOut = htmlOut+"<tr bgcolor=\""+farbeGeradeZeilen+"\"><td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+
                                                                                                ";\" align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td>"; } 
                                                                       else {htmlOut = htmlOut+"<td align="+Feld1lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val0+"&ensp;</td><td  align="+Feld2lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val1+"&ensp;</td><td  align="+Feld3lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val2+"&ensp;</td></tr>";} break;
                                                              }else{
                                                                        if(counter%2==0)  {htmlOut = htmlOut+"<tr bgcolor=\""+farbeUngeradeZeilen+"\"><td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+
                                                                                                ";\"align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td>"; } 
                                                                       else {htmlOut = htmlOut+"<td align="+Feld1lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val0+"&ensp;</td><td  align="+Feld2lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val1+"&ensp;</td><td  align="+Feld3lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val2+"&ensp;</td></tr>";} break;}
                                                                            
                                                 case 3:if(counter%2==0)   {
                                                            if(counter%3==0 )  {htmlOut = htmlOut+"<tr bgcolor=\""+farbeGeradeZeilen+"\"><td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+
                                                                                                ";\"align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td>"; } //Teil1 c=0
                                                                       else { if(counter%3==1 )  { htmlOut = htmlOut+"<td align="+Feld1lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val0+"&ensp;</td><td  align="+Feld2lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val1+"&ensp;</td><td  align="+Feld3lAlign+" style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+
                                                                                                "; \"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val2+"&ensp;</td>";} //Teil 2 c=1
                                                                                        else    {htmlOut = htmlOut+"<td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td></tr>";} //Teil 3 c=3
                                                                                  } break;}else{
                                                            if(counter%3==0 )  {htmlOut = htmlOut+"<tr bgcolor=\""+farbeUngeradeZeilen+"\"><td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+
                                                                                                ";\"align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td>"; } 
                                                                       else { if(counter%3==1 )  { htmlOut = htmlOut+"<td align="+Feld1lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val0+"&ensp;</td><td  align="+Feld2lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val1+"&ensp;</td><td  align="+Feld3lAlign+" style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+
                                                                                                ";\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val2+"&ensp;</td>";} 
                                                                                        else    {htmlOut = htmlOut+"<td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td></tr>";}
                                                                                  } break;}                                          
                                        
                                        
                                                 case 4:  // counter=counter+8;
                                                           if(counter%8==0)   {
                                                           if(counter%4==0)  {htmlOut = htmlOut+"<tr bgcolor=\""+farbeGeradeZeilen+"\"><td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td  style=\" border-right: "+trennungsLinie+"px solid "+ farbetrennungsLinie+";\" align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td>"; } // teil1
                                                                           else {if(counter%4==1 )  { htmlOut = htmlOut+"<td align="+Feld1lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val0+"&ensp;</td><td  align="+Feld2lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val1+"&ensp;</td><td  align="+Feld3lAlign+" style=\"border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+";color:"+htmlFarbFelderschrift2+"\">&ensp;"+val2+"&ensp;</td>";} //teil 2
                                                                                        else    {if(counter%4==3)  { htmlOut= htmlOut+"<td align="+Feld1lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val0+"&ensp;</td><td  align="+Feld2lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val1+"&ensp;</td><td align="+Feld3lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val2+"&ensp;</td></tr>";} //teil 4
                                                                                                          else    {htmlOut  = htmlOut+"<td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+";\"  align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td>";}} //teil 3
                                                                                  } break;}else{
                                                           if(counter%4==0)  {htmlOut = htmlOut+"<tr bgcolor=\""+farbeUngeradeZeilen+"\"><td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td  style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+";\" align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td>"; } //teil 1
                                                                           else {if(counter%4==1 )  { htmlOut = htmlOut+"<td align="+Feld1lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val0+"&ensp;</td><td  align="+Feld2lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val1+"&ensp;</td><td  align="+Feld3lAlign+" style=\"border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+";color:"+htmlFarbFelderschrift2+"\">&ensp;"+val2+"&ensp;</td>";} // teil 2
                                                                                        else    {if(counter%4==3)  { htmlOut= htmlOut+"<td align="+Feld1lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val0+"&ensp;</td><td  align="+Feld2lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val1+"&ensp;</td><td align="+Feld3lAlign+" style=\"color:"+htmlFarbFelderschrift2+"\">&ensp;"+val2+"&ensp;</td></tr>";} // teil 4
                                                                                                          else    {htmlOut  = htmlOut+"<td align="+Feld1lAlign+">&ensp;"+val0+"&ensp;</td><td align="+Feld2lAlign+">&ensp;"+val1+"&ensp;</td><td style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+";\"align="+Feld3lAlign+">&ensp;"+val2+"&ensp;</td>";}} //teil 3
                                                                                  } break;}                                    
                                                } //switch ende
                                        
                                        }
                                        
                                        async  function tabelleFinish() {
                                        
                                        switch (mehrfachTabelle) {  
                                               case 1:    break;
                                        
                                               case 2:    
                                                          if(counter%2==0)  htmlOut = htmlOut.replace(/<\/td>$/, '</td><td>&ensp;</td><td>&ensp;</td><td>&ensp;</td></tr>');
                                                        
                                                          break;
                                        
                                               case 3:   if(counter%3==2)  htmlOut = htmlOut.replace(/<\/td>$/, "</td></tr>");
                                                         if(counter%3==1)  htmlOut = htmlOut.replace(/<\/td>$/, "</td><td>&ensp;</td><td>&ensp;</td><td>&ensp;</td></tr>");        
                                                         if(counter%3==0)      htmlOut = htmlOut.replace(/<\/td>$/, "</td><td>&ensp;</td><td>&ensp;</td><td  style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+"\">&ensp;</td><td>&ensp;</td><td>&ensp;</td><td>&ensp;</td></tr>");
                                                       
                                                          break;
                                               case 4:   if(counter%4==3)  htmlOut = htmlOut.replace(/<\/td>$/, "</td></tr>");
                                                         if(counter%4==2)  htmlOut = htmlOut.replace(/<\/td>$/, "</td><td>&ensp;</td><td>&ensp;</td><td>&ensp;</td></tr>");
                                                         if(counter%4==1)  htmlOut = htmlOut.replace(/<\/td>$/, "</td><td>&ensp;</td><td>&ensp;</td><td style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+"\">&ensp;</td><td>&ensp;</td><td>&ensp;</td><td>&ensp;</td></tr>");    
                                                         if(counter%4==0)  htmlOut = htmlOut.replace(/<\/td>$/, "</td><td>&ensp;</td><td>&ensp;</td><td style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+"\">&ensp;</td><td>&ensp;</td><td>&ensp;</td><td style=\" border-right: "+trennungsLinie+"px solid "+farbetrennungsLinie+"\">&ensp;</td><td>&ensp;</td><td>&ensp;</td><td>&ensp;</td></tr>");      
                                                         break; }
                                             
                                                 var htmlUeber=    "<p style=\"color:"+htmlFarbUber+"; font-family:"+htmlSchriftart+"; font-size: "+htmlÜberFontGroesse+"; font-weight:"+htmlSchriftWeite+ "\">"+htmlFeldUeber+"&ensp;&ensp;Last Update: "+formatDate(getDateObject((parseFloat((new Date().getTime())))), "SS:mm:ss");+"</p>"; 
                                               var htmlUnter= "<div  style=\"color:"+htmlFarbUber+"; font-family:"+htmlSchriftart+"; font-size: 70%; text-align: right;\" >"+htmlFeldUeber+"&ensp;&ensp;Last Update: "+formatDate(getDateObject((parseFloat((new Date().getTime())))), "SS:mm:ss");+"</div>";
                                                
                                                if (!htmlSignature) htmlUnter="";
                                                  //Ausgabe über VIS html widget - tabelle in datenpunkt schreiben - html tabelle ohne html header und body
                                                   var htmlOutVIS="";
                                                 //  htmlUberschrift ? htmlOutVIS=htmlUeber+htmlTabStyle+htmlTabUeber+htmlOut+"</table>" : htmlOutVIS=htmlTabStyle+htmlTabUeber+htmlOut+"</table>";
                                                    if (htmlUberschrift) 
                                                        { zentriert ? htmlOutVIS=htmlZentriert+htmlUeber+htmlTabStyle+htmlTabUeber+htmlOut+"</table>"+htmlUnter+buttonScript  : htmlOutVIS=htmlUeber+htmlTabStyle+htmlTabUeber+htmlOut+"</table>"+htmlUnter +buttonScript ;
                                        
                                                      } else {
                                                       zentriert ?  htmlOutVIS=htmlZentriert+htmlTabStyle+htmlTabUeber+htmlOut+"</table>"+htmlUnter+buttonScript  :  htmlOutVIS=htmlTabStyle+htmlTabUeber+htmlOut+"</table>"+htmlUnter+buttonScript ;
                                        
                                                         }
                                                         
                                        
                                          // log("bin raus aus tabelleBind");
                                                   if (braucheEinVISWidget) setState(dpVIS, htmlOutVIS );
                                        
                                         var htmlUnter= "<div  style=\"color:"+htmlFarbUber+"; font-family:"+htmlSchriftart+"; font-size: 80%;  text-align: center; \" >"+htmlFeldUeber+"&ensp;&ensp;Last Update: "+formatDate(getDateObject((parseFloat((new Date().getTime())))), "SS:mm:ss");+"</div>"
                                        
                                         if (!htmlSignature) htmlUnter="";
                                          var htmlEnd="</table>"+htmlUnter+"</div></body>";
                                         //mit oder ohne überschrift - zentriert oder links
                                        htmlUberschrift ? htmlOut=htmlStart+htmlUeber+htmlTabStyle+htmlTabUeber+htmlOut+htmlEnd : htmlOut=htmlStart+htmlTabStyle+htmlTabUeber+htmlOut+htmlEnd;
                                         //log(htmlOut);
                                        
                                        if (braucheEinFile) {writeFile(home, path ,htmlOut, function (error) { /* log('file written');*/  });}
                                        }
                                        
                                        
                                        var gesucht="";
                                        var gefunden="";
                                        var gefunden_2="";
                                        var gefunden2="";
                                        var gefunden2_2=""; 
                                        
                                        var myArr2=[];   var myArr22=[];  var myArr222=[];
                                        var myArr2_2=[]; var myArr22_2=[];
                                        var myArr3=[];
                                        var myArr3_2=[];
                                        var myArr4=[];
                                        var myObj=[];
                                        var myObjFilter=[];
                                        var counterlein=0;
                                        var allesDa=true;
                                           var vorher=""; 
                                          var jetzt; 
                                          var myObjFilterHelp=[] ; 
                                        
                                        
                                        async function getTV(){
                                           return new Promise(async (resolve, reject) => {
                                        //try {
                                          await request(url, async function (error, response, result) {
                                          //console.log("result: "+result);
                                          gesucht="";
                                          gesucht=result;  //log(" gesucht - direct_____________JETZT: "+ gesucht);
                                           // setState("controll-own.0.AAATEST.TVTVTVTV",result);
                                            holeTV(gesucht);
                                            //log("bin raus getTV");
                                            if (gesucht!="") {resolve()} else {reject()}
                                        ;  }).on("error", function (e) {console.error(e);});
                                        
                                          //log("bin raus getTV");
                                         });
                                        
                                        }
                                        
                                        async function holeTV(gesuchtVal){
                                        //log("bin in holeTV");
                                         gesucht="";
                                        gefunden="";
                                        gefunden_2="";
                                        gefunden2="";
                                        gefunden2_2=""; 
                                        
                                        myArr2=[];    myArr22=[];   myArr222=[]; 
                                        myArr2_2=[];  myArr22_2=[];
                                        myArr3=[];
                                        myArr3_2=[];
                                        myArr4=[];
                                        myObj=[];
                                        myObjFilter=[];
                                             vorher=""; 
                                        
                                          myObjFilterHelp=[] ; 
                                        
                                        counterlein=0;
                                        var re =/\s<a title=".+?" name="bid_/g;
                                        
                                        gesucht = gesuchtVal;
                                        
                                        gefunden= "fff"+gesucht.match(re);
                                        
                                        
                                                 let helper2=[];
                                                  let helper=gefunden.match(/\".+?" name="bid_/g);
                                                  // log("--------"+helper.length.toString());
                                                 for (var i=0;i<helper.length;i++){
                                                     let hhh= helper[i].replace(/,/g, " --");// 
                                                     hhh= hhh.replace(/\'/g, " ");//          
                                                  // if(i<1) log(hhh)
                                                     hhh=hhh.replace(/ (\d\d):(\d\d) /g, " $1\-\-\-$2");
                                                  // if(i<1)  log(hhh)
                                                     hhh=hhh.replace(/\:/g, ";");
                                                  // if(i<1)   log(hhh)
                                                     hhh=hhh.replace(/(\d\d)---(\d\d)/g, " $1:$2 ");
                                                  // if(i>20 && i<25)   log(hhh)
                                                     hhh=hhh.replace(/www\..+\/tv-pro/g, "tv-pro");   // vernichtet punkte am ende
                                                     hhh=hhh.replace(/(\d\d\.\d\d\..+)\.(.+)\" data/g, "$1x_y_x$2 data"); //ersetzt punkt in sendernamen (sat.1)
                                                  // if(i>20 && i<25)  log("++++++++++++++++++++"+hhh)
                                                     hhh=hhh.replace(/(^.+?)\.+(.+?\d\d\.\d\d\.)/g, "$1x_x_x$2"); //ersetzt punkte im datum
                                                  // if(i>20 && i<25)  log("++++++++++++++++++++"+hhh)
                                                     hhh=hhh.replace(/\*/g, "_");
                                                     hhh=hhh.replace(/ data.+programm(.+)/g,"bbb$1");
                                                  //  if(i>20 && i<25)    log("++++++++++++++++++++"+hhh)
                                                 
                                                     helper2.push(hhh)
                                                 }
                                        
                                        var myArr    =helper2.toString().split(",");
                                        
                                        //log(myArr.length.toString()+"---"+myArr[3].toString());
                                        
                                        for(var i=0;i<myArr.length;i++){   var haken=myArr[i].replace( /,>/g , "");       myArr22.push(haken);}  // /,>/g , ""
                                        for(var i=0;i<myArr22.length;i++){  var    haken=myArr22[i].replace("xxx","");     myArr222.push(haken);}  // /,>/g , ""
                                        for(var i=0;i<myArr222.length;i++){  var    haken=myArr222[i].replace(/\"/g,"");     myArr2.push(haken);if (i<0) log(myArr2[i])}  // /,>/g , ""
                                        
                                        
                                        
                                                   
                                        
                                         for(var i=0;i<myArr2.length;i++) {
                                           let val4help= myArr2[i].slice(((myArr2[i].indexOf('bbb') + 1 + 3) - 1), myArr2[i].length); val4help=val4help.replace(/ name=bid_/g,""); if(i<0) log(val4help)
                                           let val3= myArr2[i].slice(0, (myArr2[i].indexOf(':') + 1) - 5).trim(); val3=val3.replace(/x_x_x/g,"."); val3=val3.replace(/x_y_x/g,".") // val3=val3.slice(0, (val3.lastIndexOf('-') + 1) - 1);   // sendung
                                           let val2=myArr2[i].slice(((myArr2[i].lastIndexOf('.') + 1 + 1) - 1), myArr2[i].length).trim();val2=val2.replace(/bbb.+/g,"") ;;if(i<0) log(val2); val2=val2.replace(/x_x_x/g,".");  val2=val2.replace(/x_y_x/g,".")// sender
                                           let val1=myArr2[i].slice((((myArr2[i].lastIndexOf(':') + 1) - 2) - 1), myArr2[i].indexOf(':') + 1 + 2).trim();                // uhrzeit
                                              
                                            myObj.push([val1,val2,val3,val4help]);
                                          
                                         }
                                        
                                        
                                        
                                        var mySort = ["Tele 5","Fix&Foxi","Nicktoons","VH1 Classic","MTV Brand New","Gute Laune TV","Nautical Channel",
                                        "Silverline","Penthouse Passion HD","Playboy TV","Lust Pur","Blue Hustler","RTL Living","Disney XD","RCK TV","MTV",
                                        "Animal Planet","Planet","Geo Television","auto motor und sport channel","Extreme Sports Channel","SPORT1+","RTL Passion",
                                        "RTL Crime","ProSieben Fun", "1 emotions","kabel eins classics","Sony Channel","Sony AXN","Jukebox","MTV Live HD","MTV HD",
                                        "Stingray Classica","Boomerang","Cartoon Network","Disney Junior","Junior","TV","Heimatkanal","E! Entertainment","TNT Comedy",
                                        "Romance TV","Kinowelt TV","TNT Film","TNT Serie","Universal TV","FOX","Syfy","13TH STREET","Spiegel TV Wissen","Spiegel Geschichte",
                                        "Crime + Investigation","History","Der Buckingham-Palast - Geheimnisse -- Affären","National Geographic Wild",
                                        "National Geographic","Discovery Channel","Motorvision TV","Sportdigital Fußball","Eurosport 2","Sky Sport Austria 1",
                                        "Sky Sport News HD","Sky Sport 2 HD","Sky Sport 1 HD","Sky Sport Bundesliga 1","Sky Krimi","Sky 1","Sky Atlantic HD",
                                        "Sky Cinema Special HD","Sky Cinema Family HD","Sky Cinema Nostalgie","Sky Cinema Emotion","Sky Cinema Comedy",
                                        "Sky Cinema Action","Sky Cinema Hits","Sky Cinema +24","Sky Cinema +1","Sky Cinema","TRT Türk","TV 2","DR 1",
                                        "Rouge TV","France 24","TV5MONDE","CNBC Paneurope","CNN","BBC World News","BBC Entertainment","Die Neue Zeit",
                                        "Bibel TV","Star TV","Schweiz 5","5plus","3plus","SRF info","SRF 2","SRF 1","sixx Austria","Puls 4","ATV2","ATV",
                                        "Spreekanal","rheinmainTV","Rhein-Neckar-Fernsehen","München TV","Hamburg 1","ORF Sport +","ORF 3","ORF 2","ORF 1",
                                        "Franken Fernsehen","Berlin","DW English","Deutsches Anleger Fernsehen","tv","Channel 21","HSE24","QVC",
                                        "Deutsches Musik Fernsehen","Deluxe Music","RiC","Anixe Plus","Anixe HD Serie","TLC","Health TV","Home & Garden TV",
                                        "RTL Plus","VOXup","1 Gold","DMAX","ProSieben Maxx","N24 Doku","eSports1","SPORT1","Eurosport 1",
                                        "Zee One","Nick","KiKA","Tele 5","Euronews","Welt der Wunder","01. NDR","02. NDR", "Sky One",
                                        "Sky Cinema Premieren +24","Sky Cinema Fun","Sky Cinema Thriller HD", "Sky Cinema Premieren", "Sky Cinema Thriller HD", "Sky Cinema Best Of","Sky Cinema Classics",
                                        "WELT","Beate-Uhse.TV","sonnenklar.tv","TV.Berlin","Stingray Classica","Sat.1 emotions","Sat.1 Gold","tagesschau24","NICK Jr.","BonGusto"];
                                        var fehlendeFilter=["One","ZDFinfo","ZDFneo","tagesschau24","ARD alpha","Phoenix","RBB","HR","SWR","BR","MDR","WDR","n-tv",
                                                           "NDR","3sat","Arte","VOX","RTL Zwei","kabel eins","ProSieben","1","RTL","Disney Channel","ZDF","Das Erste","NITRO","Servus TV","Kabel 1 Doku","Sixx","Super RTL","Comedy Central"];
                                        
                                        
                                           for (var b =0; b<myObj.length; b++){
                                           
                                          
                                              if(!mySort.includes(myObj[b][1].trim()) && myObj[b][1].trim()!="" ) 
                                              { 
                                              myObjFilter.push(myObj[b]);
                                           
                                              } else{
                                                  //myObjFilter.push(myObj[ind2]);
                                                // log("filtered"+myObj[b][1])
                                                 }
                                           
                                         }
                                         //log("gefiltert"+myObjFilter.toString());
                                           let anzahlSendung=0;         
                                        for (var b =0; b<myObjFilter.length; b++){
                                           //log("vorher: "+ vorher+ " object: "+myObjFilter[b][1]);
                                           if (anzahlSendung<3) {myObjFilterHelp.push(myObjFilter[b]); vorher =myObjFilter[b][1];anzahlSendung++ } else{anzahlSendung++}
                                        
                                          if (myObjFilter[b][1]!=vorher){anzahlSendung=0; vorher =myObjFilter[b][1] } else{}
                                        
                                        }
                                        
                                        
                                        
                                        for(var index in myObjFilter) {counterlein++; /*log(counterlein.toString())*/}
                                        
                                        
                                        return myObjFilterHelp;
                                        
                                        
                                        }
                                        
                                               on({id: dpVISReminder, ack: false, change: "any"}, function (obj) { 
                                               //log(getState(dpANLEGEN).val+"----refresh");
                                               var timeout2 = setTimeout(function () {
                                               
                                                     if (existsState(dpVISReminder)){
                                                      if (getState(dpVISReminder).val!=""){
                                                           var valHelpi=getState(dpVISReminder).val.split(",")
                                                           val0="&ensp;"+symbolSavedReminder+"<i> <font color=\""+farbeErinnerung+"\">"+valHelpi[1]+"</i>";  
                                                           if (valHelpi[0]!=undefined){
                                                               let  istGueltig=formatDate(getDateObject((parseFloat((new Date().getTime())))), "SS:mm")
                                             
                                                               if ( ((parseFloat((valHelpi[0].slice(0, (valHelpi[0].indexOf(':') + 1) - 1))) *60) + parseFloat((valHelpi[0].slice(((valHelpi[0].indexOf(':') + 1 + 1) - 1), valHelpi[0].length)))) >=  ((parseFloat((istGueltig.slice(0, (istGueltig.indexOf(':') + 1) - 1))))*60)  + parseFloat((istGueltig.slice(((istGueltig.indexOf(':') + 1 + 1) - 1), istGueltig.length))) )  {
                                                                writeHTML(url1);
                                                               
                                                               }        } } }
                                        
                                           }, 1500);
                                           });
                                        
                                        on({id: dpVISUmschalter, ack: false, change: "any"}, function (obj) { 
                                        var timeout3 = setTimeout(function () {
                                            writeHTML(url1);
                                        }, 1000);
                                           });
                                        
                                               on({id: dpVISExtZeit, ack: false, change: "any"}, function (obj) { 
                                               //log(getState(dpANLEGEN).val+"----refresh");
                                               var timeout2 = setTimeout(function () { getState(dpVISExtZeit).val=="jetzt" ?  writeHTML(url1) :  writeHTML('https://www.hoerzu.de/tv-programm/heute/'+getState(dpVISExtZeit).val+'/'); }, 1500);
                                              // }
                                           
                                           });
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        

                                        widgets:

                                        [{"tpl":"tplJquiSelectList","data":{"oid":"controll-own.0.TABELLEN.TVExternZeit","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","values":"jetzt;11:00;13:00;15:00;16:00;17:00;20:15;22:00","texts":"jetzt;11:00;13:00;15:00;16:00;17:00;20:15;22:00","height":"242","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"open":true,"no_style":true},"style":{"left":"824px","top":"460px","width":"99px","height":"22px","font-size":"small","z-index":"10"},"widgetSet":"jqui"}]
                                        

                                        oder :

                                        [{"tpl":"tplJquiRadioList","data":{"oid":"controll-own.0.TABELLEN.TVExternZeit","g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","values":"jetzt;11:00;13:00;15:00;16:00;17:00;20:15;22:00","texts":"jetzt;11:00;13:00;15:00;16:00;17:00;20:15;22:00","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"650px","top":"444px"},"widgetSet":"jqui"}]
                                        

                                        script wird alle 15 minuten automatisch geladen und springt dann auf jetzt zeit plus folgende

                                        O 2 Replies Last reply Reply Quote 1
                                        • O
                                          Oli @liv-in-sky last edited by Oli

                                          @liv-in-sky

                                          super, vielen Dank. Das mit den extra Widgets ist mir persönlich sogar lieber

                                          1 Reply Last reply Reply Quote 0
                                          • O
                                            Oli @liv-in-sky last edited by Oli

                                            @liv-in-sky

                                            eine Sache ist mir aufgefallen:
                                            Wenn ich Überschriften verwenden möchte, werden diese ab der Zweiten Tabelle falsch gesetzt, bzw. ist die Überschrift "Sender" ab der 2 Tabelle gar nicht mehr nötig

                                            92438440-e181-4b72-9452-ebbcd63fb49c-image.png

                                            Cool wäre noch, wenn man sich Senderlogos, statt dem Fernseher in der 1 Spalte anzeigen lassen könnte.

                                            JayR liv-in-sky 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            860
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript
                                            20
                                            327
                                            37063
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo