Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [gelöst] Kodi: Enduhrzeit berechnen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    15
    1
    213

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.4k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

[gelöst] Kodi: Enduhrzeit berechnen

Geplant Angeheftet Gesperrt Verschoben Blockly
44 Beiträge 5 Kommentatoren 2.1k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • K Kuddel

    @dos1973 calc ist die Schleife. kannst du ignorieren. habe das Skript schon wieder umgebaut.

    nehme jetzt die Spielzeit als trigger.

    baue seine Vorschlag mit der Formatierung morgen noch ein

    D Offline
    D Offline
    dos1973
    schrieb am zuletzt editiert von
    #22

    @Kuddel
    playing time, habe ich auch schon dran gedacht - das ist ja auf sekundenbasis.
    Jo, schonmal Danke & bis morgen.

    1 Antwort Letzte Antwort
    0
    • paul53P paul53

      @dos1973 sagte:

      das geht sozusagen im Sekunden Takt.

      Mit Sekundentakt sollte eine moderne Hardware zurecht kommen.

      K Offline
      K Offline
      Kuddel
      schrieb am zuletzt editiert von
      #23

      @paul53 kann man die Umrechnung der Restzeit evtl. besser bauen?

      Ich habe das aktuell so umgesetzt:

      020a581a-8362-41dd-aecc-9b6bf5ed568c-grafik.png

      Würde auch irgendwie mit Konvertierung gehen ?

      Irgendwie so ?

      aad5f2ed-5249-4cc5-bfb2-e481c13b82a8-grafik.png

      paul53P 1 Antwort Letzte Antwort
      0
      • K Kuddel

        @paul53 kann man die Umrechnung der Restzeit evtl. besser bauen?

        Ich habe das aktuell so umgesetzt:

        020a581a-8362-41dd-aecc-9b6bf5ed568c-grafik.png

        Würde auch irgendwie mit Konvertierung gehen ?

        Irgendwie so ?

        aad5f2ed-5249-4cc5-bfb2-e481c13b82a8-grafik.png

        paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von
        #24

        @Kuddel sagte:

        Würde auch irgendwie mit Konvertierung gehen ?

        Ja, man muss die Zeitzone berücksichtigen.

        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

        K 1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @Kuddel sagte:

          Würde auch irgendwie mit Konvertierung gehen ?

          Ja, man muss die Zeitzone berücksichtigen.

          K Offline
          K Offline
          Kuddel
          schrieb am zuletzt editiert von
          #25

          @paul53 ah okay.

          habe zu dem Problem mal ein extra Threaad eröffnet:

          https://forum.iobroker.net/topic/38326/sekunden-in-std-min-sek-formatieren/2

          Auf die Zeitzonen wurde da auch schon hingewiesen.

          Weiter bin ich aber dadurch auch nicht ^^

          paul53P 1 Antwort Letzte Antwort
          0
          • K Kuddel

            @paul53 ah okay.

            habe zu dem Problem mal ein extra Threaad eröffnet:

            https://forum.iobroker.net/topic/38326/sekunden-in-std-min-sek-formatieren/2

            Auf die Zeitzonen wurde da auch schon hingewiesen.

            Weiter bin ich aber dadurch auch nicht ^^

            paul53P Offline
            paul53P Offline
            paul53
            schrieb am zuletzt editiert von
            #26

            @Kuddel sagte:

            Weiter bin ich aber dadurch auch nicht

            Die Lösung befindet sich im verlinkten Beitrag.

            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

            K 1 Antwort Letzte Antwort
            0
            • paul53P paul53

              @Kuddel sagte:

              Weiter bin ich aber dadurch auch nicht

              Die Lösung befindet sich im verlinkten Beitrag.

              K Offline
              K Offline
              Kuddel
              schrieb am zuletzt editiert von
              #27

              @paul53 super, vielen Dank. Habe es hinbekommen.

              @dos1973

              Hier das fertige Skript:

              <xml xmlns="https://developers.google.com/blockly/xml">
               <variables>
                 <variable id="z6@)Eo%V776?qOlzgeJq">sekunden_total</variable>
                 <variable id="c70ch.|4qGYP3!UEvS8x">sekunden</variable>
                 <variable id="Gv49fQ40~+/ya6#JMvO}">time_total</variable>
                 <variable id="8?J4Jmf7%_-wS9!yell|">time</variable>
                 <variable id="7gbI~lkqQ~M|C;mJ+cDq">i</variable>
                 <variable id="fB}3.DkAG[Zns[jkc^B)">diff</variable>
                 <variable id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</variable>
               </variables>
               <block type="on_ext" id="mhrPpA^7UN)RTNT]/[[R" x="-12" y="-387">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                 <field name="CONDITION">ne</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="X%v$|Bp`D)/8o$MsBajH">
                     <field name="oid">kodi.0.info.playing_time</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="DPV3L8uxH[7hV$K{3Okp">
                     <mutation else="1"></mutation>
                     <value name="IF0">
                       <block type="logic_compare" id="f;Y93jeAj5hLE=HpAXci">
                         <field name="OP">NEQ</field>
                         <value name="A">
                           <block type="get_value" id="+oIYTrzhXShgXD?-dx?!">
                             <field name="ATTR">val</field>
                             <field name="OID">kodi.0.state</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="L7`/vLtiabj}GQ5_)n?I">
                             <field name="TEXT">stop</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="variables_set" id="fTK`7dy@}I9{xOUk:fdm">
                         <field name="VAR" id="Gv49fQ40~+/ya6#JMvO}">time_total</field>
                         <value name="VALUE">
                           <block type="lists_split" id="fSNHlFM[e|2s~?~WLoA]">
                             <mutation mode="SPLIT"></mutation>
                             <field name="MODE">SPLIT</field>
                             <value name="INPUT">
                               <block type="get_value" id="%}I/[z=}v|bA_s+cN3T+">
                                 <field name="ATTR">val</field>
                                 <field name="OID">kodi.0.info.playing_time_total</field>
                               </block>
                             </value>
                             <value name="DELIM">
                               <shadow type="text" id="bO/MuTT:URPjI@SOF^wu">
                                 <field name="TEXT">:</field>
                               </shadow>
                             </value>
                           </block>
                         </value>
                         <next>
                           <block type="variables_set" id="3L:9B.c/-jdK~YPS;}kk">
                             <field name="VAR" id="8?J4Jmf7%_-wS9!yell|">time</field>
                             <value name="VALUE">
                               <block type="lists_split" id="m0vWY?4A}Fy?zECIMa-g">
                                 <mutation mode="SPLIT"></mutation>
                                 <field name="MODE">SPLIT</field>
                                 <value name="INPUT">
                                   <block type="get_value" id="cmBA^z.eb9hODfdHQbW8">
                                     <field name="ATTR">val</field>
                                     <field name="OID">kodi.0.info.playing_time</field>
                                   </block>
                                 </value>
                                 <value name="DELIM">
                                   <shadow type="text" id=";o/sw@k#dD0mWkC4+b)M">
                                     <field name="TEXT">:</field>
                                   </shadow>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="variables_set" id=";/]R)Ct0Dfu6i-d@fN1=">
                                 <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="!A%IT%#arX*{$UY8=Kva">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="%LYJ{05i.|T3]O%OZlti">
                                     <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="-:ZTaSM~NWM#h9LoWuBz">
                                         <field name="NUM">0</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_for" id="2R-$*vTVI{p#n(T8RV.d">
                                         <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                         <value name="FROM">
                                           <shadow type="math_number" id="yo3lqjuQw}eovRb+XXQ?">
                                             <field name="NUM">1</field>
                                           </shadow>
                                         </value>
                                         <value name="TO">
                                           <shadow type="math_number">
                                             <field name="NUM">10</field>
                                           </shadow>
                                           <block type="lists_length" id="030ssz#WyY6qdm{Y]+%7">
                                             <value name="VALUE">
                                               <block type="variables_get" id="LtjmBy}A-?%QRfowFhZH">
                                                 <field name="VAR" id="Gv49fQ40~+/ya6#JMvO}">time_total</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="BY">
                                           <shadow type="math_number" id="W4)e3sbN-C[AtksvJyb0">
                                             <field name="NUM">1</field>
                                           </shadow>
                                         </value>
                                         <statement name="DO">
                                           <block type="math_change" id="gZ[fn:P}L%w5Hu*/k[w]">
                                             <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                             <value name="DELTA">
                                               <shadow type="math_number">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                               <block type="math_arithmetic" id="_nrssb{}I|MM@7r=B2*[" inline="false">
                                                 <field name="OP">MULTIPLY</field>
                                                 <value name="A">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="math_arithmetic" id="?QRRgY%9F+.UW^4Wl#AO">
                                                     <field name="OP">POWER</field>
                                                     <value name="A">
                                                       <shadow type="math_number" id="`nZhdJ)1xBsAmv:WOH{$">
                                                         <field name="NUM">60</field>
                                                       </shadow>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="math_arithmetic" id="%5v;FD87a~}IdxMU?0vb">
                                                         <field name="OP">MINUS</field>
                                                         <value name="A">
                                                           <shadow type="math_number">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="variables_get" id="~kv8]AFICio,y}2%8r:A">
                                                             <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number" id="By?4fEM=/cIUg=PVf-%.">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="convert_tonumber" id="Xjk8qkB+rf0:[Z@JKl{4">
                                                     <value name="VALUE">
                                                       <block type="lists_getIndex" id="=M7:!eN*k,;Op`ncPBu)">
                                                         <mutation statement="false" at="true"></mutation>
                                                         <field name="MODE">GET</field>
                                                         <field name="WHERE">FROM_END</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="4n4]sPE}}yOyCqIR6sK$">
                                                             <field name="VAR" id="Gv49fQ40~+/ya6#JMvO}">time_total</field>
                                                           </block>
                                                         </value>
                                                         <value name="AT">
                                                           <block type="variables_get" id="5KN91f+6[?BIQQU^P+T/">
                                                             <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="controls_for" id="/[|3}k{qYeK4wFiN6#lx">
                                             <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                             <value name="FROM">
                                               <shadow type="math_number" id="1FErI$q)qi=X^N_:%Js?">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                             </value>
                                             <value name="TO">
                                               <shadow type="math_number">
                                                 <field name="NUM">10</field>
                                               </shadow>
                                               <block type="lists_length" id="yJ$~7a^l4Gd#j:0c3$xr">
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="Lh*:^j)}o|0jC8rH:.-+">
                                                     <field name="VAR" id="8?J4Jmf7%_-wS9!yell|">time</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="BY">
                                               <shadow type="math_number" id="T3rAediff*:%E88l7+4%">
                                                 <field name="NUM">1</field>
                                               </shadow>
                                             </value>
                                             <statement name="DO">
                                               <block type="math_change" id="Bsy0,}!M#a)Xi$$B[t]z">
                                                 <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                 <value name="DELTA">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="math_arithmetic" id="ecXevA40kHBJjiNry:#^" inline="false">
                                                     <field name="OP">MULTIPLY</field>
                                                     <value name="A">
                                                       <shadow type="math_number">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="math_arithmetic" id="K#Ey7v.v;+lcl{1f@5]H">
                                                         <field name="OP">POWER</field>
                                                         <value name="A">
                                                           <shadow type="math_number" id="a~E=mS#u_.VcC[jX^/;*">
                                                             <field name="NUM">60</field>
                                                           </shadow>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="math_arithmetic" id="p}_MS2!F;,r~o9#j=$`e">
                                                             <field name="OP">MINUS</field>
                                                             <value name="A">
                                                               <shadow type="math_number">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="variables_get" id="Wr7+iV$a;ynQ,P%0v/|h">
                                                                 <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <shadow type="math_number" id="7DDk.nAP2`-o[3:5T/`V">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="convert_tonumber" id="95Wkc=Wn9wjOL/~emwC:">
                                                         <value name="VALUE">
                                                           <block type="lists_getIndex" id="):n}4;0GiBs#gE+_-.uf">
                                                             <mutation statement="false" at="true"></mutation>
                                                             <field name="MODE">GET</field>
                                                             <field name="WHERE">FROM_END</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="WCs.rt_18?skHj|HC;)H">
                                                                 <field name="VAR" id="8?J4Jmf7%_-wS9!yell|">time</field>
                                                               </block>
                                                             </value>
                                                             <value name="AT">
                                                               <block type="variables_get" id="dA]HyO~W)iY5ROXqc$PI">
                                                                 <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="variables_set" id="x8t?3^{cNVFaKtPFnFq9">
                                                 <field name="VAR" id="fB}3.DkAG[Zns[jkc^B)">diff</field>
                                                 <value name="VALUE">
                                                   <block type="math_arithmetic" id="2+`tDY!LQG^9AZO8#!ZQ" inline="false">
                                                     <field name="OP">MULTIPLY</field>
                                                     <value name="A">
                                                       <shadow type="math_number" id="(_=}+a~Ov.r2s~-^a_*5">
                                                         <field name="NUM">1000</field>
                                                       </shadow>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="math_arithmetic" id="D.`(%|9dOcm*(umN9bT@" inline="false">
                                                         <field name="OP">MINUS</field>
                                                         <value name="A">
                                                           <shadow type="math_number">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="variables_get" id="u7f(0GaP.#L;(fYVBLIF">
                                                             <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="variables_get" id="]@3~@l|_;uO[L%2ioP,k">
                                                             <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="variables_set" id="@IH=J5P5=tnH`9Iu_Px|">
                                                     <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                     <value name="VALUE">
                                                       <block type="math_arithmetic" id="~E$;9??|fPcDC|HJqW`-" inline="false">
                                                         <field name="OP">MINUS</field>
                                                         <value name="A">
                                                           <shadow type="math_number">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="variables_get" id="1`UnN?gb.[~)w}d6VRR)">
                                                             <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="variables_get" id=")m(;caB*Y|AI7#H$k`-_">
                                                             <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="E.QKHpVBex}})iCx|o|3">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">javascript.0.sonstige.kodi_endzeit</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="text_join" id="r1UQi]J^lm7$v9OOADL%">
                                                             <mutation items="2"></mutation>
                                                             <value name="ADD0">
                                                               <block type="convert_from_date" id="TgQBU@2m$Aam**8naRqf">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                 <field name="OPTION">hh:mm</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_arithmetic" id="vFX,u4337mHL^[94MZjL">
                                                                     <field name="OP">ADD</field>
                                                                     <value name="A">
                                                                       <shadow type="math_number">
                                                                         <field name="NUM">1</field>
                                                                       </shadow>
                                                                       <block type="time_get" id="WGy*s;07oKI/J`GDI-x3">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                         <field name="OPTION">object</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <shadow type="math_number">
                                                                         <field name="NUM">1</field>
                                                                       </shadow>
                                                                       <block type="variables_get" id="%/#p`[h/wlvqSaXg{l2J">
                                                                         <field name="VAR" id="fB}3.DkAG[Zns[jkc^B)">diff</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="ADD1">
                                                               <block type="text" id="+v9neh|_70u#CP~sT+@%">
                                                                 <field name="TEXT"> Uhr</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="comment" id=":K!+{P30dMt;$jGMg6$T">
                                                             <field name="COMMENT">Restzeit in DP schreiben</field>
                                                             <next>
                                                               <block type="controls_if" id="YLU1O|*kP;~~)*%A*c64" collapsed="true">
                                                                 <mutation else="1"></mutation>
                                                                 <value name="IF0">
                                                                   <block type="logic_compare" id="O/cS/vtiw%t25mVoX0E)">
                                                                     <field name="OP">GTE</field>
                                                                     <value name="A">
                                                                       <block type="variables_get" id="Z9ar3}8Z9NYbMmd_Lr{$">
                                                                         <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="math_number" id="EQS;F?$mC9ays!GQHelg">
                                                                         <field name="NUM">3600</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO0">
                                                                   <block type="control" id=":vGI/P.wI*w^?R3?]A_y">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">javascript.0.sonstige.kodi_restzeit</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="text_join" id="qj]1+vKK[~s9~4E-?Hmt">
                                                                         <mutation items="2"></mutation>
                                                                         <value name="ADD0">
                                                                           <block type="convert_from_date" id="op^3$IrO,sQp3qbNH[yr">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                             <field name="OPTION">hh:mm:ss</field>
                                                                             <value name="VALUE">
                                                                               <block type="math_arithmetic" id="`@gy7^%rBU*AJl2gq,W^" inline="false">
                                                                                 <field name="OP">ADD</field>
                                                                                 <value name="A">
                                                                                   <shadow type="math_number" id="7DRWC8OQ|/xV,23*f7b.">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="math_arithmetic" id="SRr*2A-d~+C3S^ASaz|z" inline="false">
                                                                                     <field name="OP">MULTIPLY</field>
                                                                                     <value name="A">
                                                                                       <shadow type="math_number" id="B;w,.X}/n^mV^MqBH1EO">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="variables_get" id="Gje!a(?`DOk/EP7U~{+7">
                                                                                         <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="B">
                                                                                       <shadow type="math_number" id="eh15lqzy94bn2F7r%vLT">
                                                                                         <field name="NUM">1000</field>
                                                                                       </shadow>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="B">
                                                                                   <shadow type="math_number" id="K2`(*`(@|mb~gR~jDTT.">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="convert_from_date" id="D)wHz^=FFv!%zu14#F`9">
                                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                     <field name="OPTION">object</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="text" id="l2}(S$*x*xXv8{@KIM.D">
                                                                                         <field name="TEXT">1970-01-01 00:00</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <value name="ADD1">
                                                                           <block type="text" id=":iAB8qR}G,901EBDh9V@">
                                                                             <field name="TEXT"> Std.</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                                 <statement name="ELSE">
                                                                   <block type="control" id="1TUgHZS-t^g/r?roa;T:">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">javascript.0.sonstige.kodi_restzeit</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="text_join" id="T7V(Q!yelYlEyv$W7W4_">
                                                                         <mutation items="2"></mutation>
                                                                         <value name="ADD0">
                                                                           <block type="convert_from_date" id="jqWJ%(d*IN6r=2uM2yvn">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                                             <field name="OPTION">custom</field>
                                                                             <field name="FORMAT">mm:ss</field>
                                                                             <value name="VALUE">
                                                                               <block type="math_arithmetic" id="V_}s;3rr[k0N-jfh|V}}" inline="false">
                                                                                 <field name="OP">ADD</field>
                                                                                 <value name="A">
                                                                                   <shadow type="math_number" id=".@}R8NgR0O}W6q=Evlt;">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="math_arithmetic" id=")rp!A(b[(?HtEXZ4lGAs" inline="false">
                                                                                     <field name="OP">MULTIPLY</field>
                                                                                     <value name="A">
                                                                                       <shadow type="math_number">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="variables_get" id="p?7L/:k:KJVYeaAb(Pvk">
                                                                                         <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="B">
                                                                                       <shadow type="math_number" id="$eyPSY:~L?%j}!8_HgRv">
                                                                                         <field name="NUM">1000</field>
                                                                                       </shadow>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="B">
                                                                                   <shadow type="math_number">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="convert_from_date" id="y9P,E-JX6-@5QR+90)Ca">
                                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                     <field name="OPTION">object</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="text" id="rE/w?T7DF_A_Vh|YK/Rp">
                                                                                         <field name="TEXT">1970-01-01 00:00</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <value name="ADD1">
                                                                           <block type="text" id="hNX8Lh|^E|EZ)wM(jO+[">
                                                                             <field name="TEXT"> Min.</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </statement>
                     <statement name="ELSE">
                       <block type="control" id="VSZMp_fJpd1OzYCY=~xN">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">javascript.0.sonstige.kodi_endzeit</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="text" id="b8vzkml]yd@f[0(Q`e(2">
                             <field name="TEXT"></field>
                           </block>
                         </value>
                         <next>
                           <block type="control" id="AIf3cY6ex%9}xpyKmOtB">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">javascript.0.sonstige.kodi_restzeit</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="text" id="nX.)Ffq{`}-Hsq,#!6^6">
                                 <field name="TEXT"></field>
                               </block>
                             </value>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                 </statement>
               </block>
               <block type="math_arithmetic" id="xwnzXAGK!}3ZV`cn+p-J" inline="false" x="318" y="281">
                 <field name="OP">MINUS</field>
                 <value name="A">
                   <shadow type="math_number">
                     <field name="NUM">1</field>
                   </shadow>
                   <block type="variables_get" id="SV_szV+egA]WXMJuUu0A">
                     <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                   </block>
                 </value>
                 <value name="B">
                   <shadow type="math_number">
                     <field name="NUM">1</field>
                   </shadow>
                   <block type="variables_get" id="s7O)lDYhn!.(UeSGgj(c">
                     <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                   </block>
                 </value>
               </block>
              </xml>
              

              sigi234S 1 Antwort Letzte Antwort
              1
              • K Kuddel

                @paul53 super, vielen Dank. Habe es hinbekommen.

                @dos1973

                Hier das fertige Skript:

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <variables>
                   <variable id="z6@)Eo%V776?qOlzgeJq">sekunden_total</variable>
                   <variable id="c70ch.|4qGYP3!UEvS8x">sekunden</variable>
                   <variable id="Gv49fQ40~+/ya6#JMvO}">time_total</variable>
                   <variable id="8?J4Jmf7%_-wS9!yell|">time</variable>
                   <variable id="7gbI~lkqQ~M|C;mJ+cDq">i</variable>
                   <variable id="fB}3.DkAG[Zns[jkc^B)">diff</variable>
                   <variable id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</variable>
                 </variables>
                 <block type="on_ext" id="mhrPpA^7UN)RTNT]/[[R" x="-12" y="-387">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                   <field name="CONDITION">ne</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="X%v$|Bp`D)/8o$MsBajH">
                       <field name="oid">kodi.0.info.playing_time</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="DPV3L8uxH[7hV$K{3Okp">
                       <mutation else="1"></mutation>
                       <value name="IF0">
                         <block type="logic_compare" id="f;Y93jeAj5hLE=HpAXci">
                           <field name="OP">NEQ</field>
                           <value name="A">
                             <block type="get_value" id="+oIYTrzhXShgXD?-dx?!">
                               <field name="ATTR">val</field>
                               <field name="OID">kodi.0.state</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="text" id="L7`/vLtiabj}GQ5_)n?I">
                               <field name="TEXT">stop</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="variables_set" id="fTK`7dy@}I9{xOUk:fdm">
                           <field name="VAR" id="Gv49fQ40~+/ya6#JMvO}">time_total</field>
                           <value name="VALUE">
                             <block type="lists_split" id="fSNHlFM[e|2s~?~WLoA]">
                               <mutation mode="SPLIT"></mutation>
                               <field name="MODE">SPLIT</field>
                               <value name="INPUT">
                                 <block type="get_value" id="%}I/[z=}v|bA_s+cN3T+">
                                   <field name="ATTR">val</field>
                                   <field name="OID">kodi.0.info.playing_time_total</field>
                                 </block>
                               </value>
                               <value name="DELIM">
                                 <shadow type="text" id="bO/MuTT:URPjI@SOF^wu">
                                   <field name="TEXT">:</field>
                                 </shadow>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="3L:9B.c/-jdK~YPS;}kk">
                               <field name="VAR" id="8?J4Jmf7%_-wS9!yell|">time</field>
                               <value name="VALUE">
                                 <block type="lists_split" id="m0vWY?4A}Fy?zECIMa-g">
                                   <mutation mode="SPLIT"></mutation>
                                   <field name="MODE">SPLIT</field>
                                   <value name="INPUT">
                                     <block type="get_value" id="cmBA^z.eb9hODfdHQbW8">
                                       <field name="ATTR">val</field>
                                       <field name="OID">kodi.0.info.playing_time</field>
                                     </block>
                                   </value>
                                   <value name="DELIM">
                                     <shadow type="text" id=";o/sw@k#dD0mWkC4+b)M">
                                       <field name="TEXT">:</field>
                                     </shadow>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id=";/]R)Ct0Dfu6i-d@fN1=">
                                   <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="!A%IT%#arX*{$UY8=Kva">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="%LYJ{05i.|T3]O%OZlti">
                                       <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="-:ZTaSM~NWM#h9LoWuBz">
                                           <field name="NUM">0</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="controls_for" id="2R-$*vTVI{p#n(T8RV.d">
                                           <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                           <value name="FROM">
                                             <shadow type="math_number" id="yo3lqjuQw}eovRb+XXQ?">
                                               <field name="NUM">1</field>
                                             </shadow>
                                           </value>
                                           <value name="TO">
                                             <shadow type="math_number">
                                               <field name="NUM">10</field>
                                             </shadow>
                                             <block type="lists_length" id="030ssz#WyY6qdm{Y]+%7">
                                               <value name="VALUE">
                                                 <block type="variables_get" id="LtjmBy}A-?%QRfowFhZH">
                                                   <field name="VAR" id="Gv49fQ40~+/ya6#JMvO}">time_total</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="BY">
                                             <shadow type="math_number" id="W4)e3sbN-C[AtksvJyb0">
                                               <field name="NUM">1</field>
                                             </shadow>
                                           </value>
                                           <statement name="DO">
                                             <block type="math_change" id="gZ[fn:P}L%w5Hu*/k[w]">
                                               <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                               <value name="DELTA">
                                                 <shadow type="math_number">
                                                   <field name="NUM">1</field>
                                                 </shadow>
                                                 <block type="math_arithmetic" id="_nrssb{}I|MM@7r=B2*[" inline="false">
                                                   <field name="OP">MULTIPLY</field>
                                                   <value name="A">
                                                     <shadow type="math_number">
                                                       <field name="NUM">1</field>
                                                     </shadow>
                                                     <block type="math_arithmetic" id="?QRRgY%9F+.UW^4Wl#AO">
                                                       <field name="OP">POWER</field>
                                                       <value name="A">
                                                         <shadow type="math_number" id="`nZhdJ)1xBsAmv:WOH{$">
                                                           <field name="NUM">60</field>
                                                         </shadow>
                                                       </value>
                                                       <value name="B">
                                                         <shadow type="math_number">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                         <block type="math_arithmetic" id="%5v;FD87a~}IdxMU?0vb">
                                                           <field name="OP">MINUS</field>
                                                           <value name="A">
                                                             <shadow type="math_number">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="variables_get" id="~kv8]AFICio,y}2%8r:A">
                                                               <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <shadow type="math_number" id="By?4fEM=/cIUg=PVf-%.">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <shadow type="math_number">
                                                       <field name="NUM">1</field>
                                                     </shadow>
                                                     <block type="convert_tonumber" id="Xjk8qkB+rf0:[Z@JKl{4">
                                                       <value name="VALUE">
                                                         <block type="lists_getIndex" id="=M7:!eN*k,;Op`ncPBu)">
                                                           <mutation statement="false" at="true"></mutation>
                                                           <field name="MODE">GET</field>
                                                           <field name="WHERE">FROM_END</field>
                                                           <value name="VALUE">
                                                             <block type="variables_get" id="4n4]sPE}}yOyCqIR6sK$">
                                                               <field name="VAR" id="Gv49fQ40~+/ya6#JMvO}">time_total</field>
                                                             </block>
                                                           </value>
                                                           <value name="AT">
                                                             <block type="variables_get" id="5KN91f+6[?BIQQU^P+T/">
                                                               <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="controls_for" id="/[|3}k{qYeK4wFiN6#lx">
                                               <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                               <value name="FROM">
                                                 <shadow type="math_number" id="1FErI$q)qi=X^N_:%Js?">
                                                   <field name="NUM">1</field>
                                                 </shadow>
                                               </value>
                                               <value name="TO">
                                                 <shadow type="math_number">
                                                   <field name="NUM">10</field>
                                                 </shadow>
                                                 <block type="lists_length" id="yJ$~7a^l4Gd#j:0c3$xr">
                                                   <value name="VALUE">
                                                     <block type="variables_get" id="Lh*:^j)}o|0jC8rH:.-+">
                                                       <field name="VAR" id="8?J4Jmf7%_-wS9!yell|">time</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="BY">
                                                 <shadow type="math_number" id="T3rAediff*:%E88l7+4%">
                                                   <field name="NUM">1</field>
                                                 </shadow>
                                               </value>
                                               <statement name="DO">
                                                 <block type="math_change" id="Bsy0,}!M#a)Xi$$B[t]z">
                                                   <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                   <value name="DELTA">
                                                     <shadow type="math_number">
                                                       <field name="NUM">1</field>
                                                     </shadow>
                                                     <block type="math_arithmetic" id="ecXevA40kHBJjiNry:#^" inline="false">
                                                       <field name="OP">MULTIPLY</field>
                                                       <value name="A">
                                                         <shadow type="math_number">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                         <block type="math_arithmetic" id="K#Ey7v.v;+lcl{1f@5]H">
                                                           <field name="OP">POWER</field>
                                                           <value name="A">
                                                             <shadow type="math_number" id="a~E=mS#u_.VcC[jX^/;*">
                                                               <field name="NUM">60</field>
                                                             </shadow>
                                                           </value>
                                                           <value name="B">
                                                             <shadow type="math_number">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="math_arithmetic" id="p}_MS2!F;,r~o9#j=$`e">
                                                               <field name="OP">MINUS</field>
                                                               <value name="A">
                                                                 <shadow type="math_number">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                                 <block type="variables_get" id="Wr7+iV$a;ynQ,P%0v/|h">
                                                                   <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <shadow type="math_number" id="7DDk.nAP2`-o[3:5T/`V">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <shadow type="math_number">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                         <block type="convert_tonumber" id="95Wkc=Wn9wjOL/~emwC:">
                                                           <value name="VALUE">
                                                             <block type="lists_getIndex" id="):n}4;0GiBs#gE+_-.uf">
                                                               <mutation statement="false" at="true"></mutation>
                                                               <field name="MODE">GET</field>
                                                               <field name="WHERE">FROM_END</field>
                                                               <value name="VALUE">
                                                                 <block type="variables_get" id="WCs.rt_18?skHj|HC;)H">
                                                                   <field name="VAR" id="8?J4Jmf7%_-wS9!yell|">time</field>
                                                                 </block>
                                                               </value>
                                                               <value name="AT">
                                                                 <block type="variables_get" id="dA]HyO~W)iY5ROXqc$PI">
                                                                   <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="variables_set" id="x8t?3^{cNVFaKtPFnFq9">
                                                   <field name="VAR" id="fB}3.DkAG[Zns[jkc^B)">diff</field>
                                                   <value name="VALUE">
                                                     <block type="math_arithmetic" id="2+`tDY!LQG^9AZO8#!ZQ" inline="false">
                                                       <field name="OP">MULTIPLY</field>
                                                       <value name="A">
                                                         <shadow type="math_number" id="(_=}+a~Ov.r2s~-^a_*5">
                                                           <field name="NUM">1000</field>
                                                         </shadow>
                                                       </value>
                                                       <value name="B">
                                                         <shadow type="math_number">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                         <block type="math_arithmetic" id="D.`(%|9dOcm*(umN9bT@" inline="false">
                                                           <field name="OP">MINUS</field>
                                                           <value name="A">
                                                             <shadow type="math_number">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="variables_get" id="u7f(0GaP.#L;(fYVBLIF">
                                                               <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <shadow type="math_number">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="variables_get" id="]@3~@l|_;uO[L%2ioP,k">
                                                               <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="variables_set" id="@IH=J5P5=tnH`9Iu_Px|">
                                                       <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                       <value name="VALUE">
                                                         <block type="math_arithmetic" id="~E$;9??|fPcDC|HJqW`-" inline="false">
                                                           <field name="OP">MINUS</field>
                                                           <value name="A">
                                                             <shadow type="math_number">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="variables_get" id="1`UnN?gb.[~)w}d6VRR)">
                                                               <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <shadow type="math_number">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="variables_get" id=")m(;caB*Y|AI7#H$k`-_">
                                                               <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="control" id="E.QKHpVBex}})iCx|o|3">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">javascript.0.sonstige.kodi_endzeit</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="text_join" id="r1UQi]J^lm7$v9OOADL%">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="convert_from_date" id="TgQBU@2m$Aam**8naRqf">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                   <field name="OPTION">hh:mm</field>
                                                                   <value name="VALUE">
                                                                     <block type="math_arithmetic" id="vFX,u4337mHL^[94MZjL">
                                                                       <field name="OP">ADD</field>
                                                                       <value name="A">
                                                                         <shadow type="math_number">
                                                                           <field name="NUM">1</field>
                                                                         </shadow>
                                                                         <block type="time_get" id="WGy*s;07oKI/J`GDI-x3">
                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                           <field name="OPTION">object</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <shadow type="math_number">
                                                                           <field name="NUM">1</field>
                                                                         </shadow>
                                                                         <block type="variables_get" id="%/#p`[h/wlvqSaXg{l2J">
                                                                           <field name="VAR" id="fB}3.DkAG[Zns[jkc^B)">diff</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text" id="+v9neh|_70u#CP~sT+@%">
                                                                   <field name="TEXT"> Uhr</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="comment" id=":K!+{P30dMt;$jGMg6$T">
                                                               <field name="COMMENT">Restzeit in DP schreiben</field>
                                                               <next>
                                                                 <block type="controls_if" id="YLU1O|*kP;~~)*%A*c64" collapsed="true">
                                                                   <mutation else="1"></mutation>
                                                                   <value name="IF0">
                                                                     <block type="logic_compare" id="O/cS/vtiw%t25mVoX0E)">
                                                                       <field name="OP">GTE</field>
                                                                       <value name="A">
                                                                         <block type="variables_get" id="Z9ar3}8Z9NYbMmd_Lr{$">
                                                                           <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="EQS;F?$mC9ays!GQHelg">
                                                                           <field name="NUM">3600</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <statement name="DO0">
                                                                     <block type="control" id=":vGI/P.wI*w^?R3?]A_y">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">javascript.0.sonstige.kodi_restzeit</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="text_join" id="qj]1+vKK[~s9~4E-?Hmt">
                                                                           <mutation items="2"></mutation>
                                                                           <value name="ADD0">
                                                                             <block type="convert_from_date" id="op^3$IrO,sQp3qbNH[yr">
                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                               <field name="OPTION">hh:mm:ss</field>
                                                                               <value name="VALUE">
                                                                                 <block type="math_arithmetic" id="`@gy7^%rBU*AJl2gq,W^" inline="false">
                                                                                   <field name="OP">ADD</field>
                                                                                   <value name="A">
                                                                                     <shadow type="math_number" id="7DRWC8OQ|/xV,23*f7b.">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="math_arithmetic" id="SRr*2A-d~+C3S^ASaz|z" inline="false">
                                                                                       <field name="OP">MULTIPLY</field>
                                                                                       <value name="A">
                                                                                         <shadow type="math_number" id="B;w,.X}/n^mV^MqBH1EO">
                                                                                           <field name="NUM">1</field>
                                                                                         </shadow>
                                                                                         <block type="variables_get" id="Gje!a(?`DOk/EP7U~{+7">
                                                                                           <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="B">
                                                                                         <shadow type="math_number" id="eh15lqzy94bn2F7r%vLT">
                                                                                           <field name="NUM">1000</field>
                                                                                         </shadow>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <shadow type="math_number" id="K2`(*`(@|mb~gR~jDTT.">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="convert_from_date" id="D)wHz^=FFv!%zu14#F`9">
                                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                       <field name="OPTION">object</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="text" id="l2}(S$*x*xXv8{@KIM.D">
                                                                                           <field name="TEXT">1970-01-01 00:00</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD1">
                                                                             <block type="text" id=":iAB8qR}G,901EBDh9V@">
                                                                               <field name="TEXT"> Std.</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </statement>
                                                                   <statement name="ELSE">
                                                                     <block type="control" id="1TUgHZS-t^g/r?roa;T:">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">javascript.0.sonstige.kodi_restzeit</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="text_join" id="T7V(Q!yelYlEyv$W7W4_">
                                                                           <mutation items="2"></mutation>
                                                                           <value name="ADD0">
                                                                             <block type="convert_from_date" id="jqWJ%(d*IN6r=2uM2yvn">
                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                                               <field name="OPTION">custom</field>
                                                                               <field name="FORMAT">mm:ss</field>
                                                                               <value name="VALUE">
                                                                                 <block type="math_arithmetic" id="V_}s;3rr[k0N-jfh|V}}" inline="false">
                                                                                   <field name="OP">ADD</field>
                                                                                   <value name="A">
                                                                                     <shadow type="math_number" id=".@}R8NgR0O}W6q=Evlt;">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="math_arithmetic" id=")rp!A(b[(?HtEXZ4lGAs" inline="false">
                                                                                       <field name="OP">MULTIPLY</field>
                                                                                       <value name="A">
                                                                                         <shadow type="math_number">
                                                                                           <field name="NUM">1</field>
                                                                                         </shadow>
                                                                                         <block type="variables_get" id="p?7L/:k:KJVYeaAb(Pvk">
                                                                                           <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="B">
                                                                                         <shadow type="math_number" id="$eyPSY:~L?%j}!8_HgRv">
                                                                                           <field name="NUM">1000</field>
                                                                                         </shadow>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <shadow type="math_number">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="convert_from_date" id="y9P,E-JX6-@5QR+90)Ca">
                                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                       <field name="OPTION">object</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="text" id="rE/w?T7DF_A_Vh|YK/Rp">
                                                                                           <field name="TEXT">1970-01-01 00:00</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD1">
                                                                             <block type="text" id="hNX8Lh|^E|EZ)wM(jO+[">
                                                                               <field name="TEXT"> Min.</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </statement>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                       <statement name="ELSE">
                         <block type="control" id="VSZMp_fJpd1OzYCY=~xN">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">javascript.0.sonstige.kodi_endzeit</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="text" id="b8vzkml]yd@f[0(Q`e(2">
                               <field name="TEXT"></field>
                             </block>
                           </value>
                           <next>
                             <block type="control" id="AIf3cY6ex%9}xpyKmOtB">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">javascript.0.sonstige.kodi_restzeit</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="text" id="nX.)Ffq{`}-Hsq,#!6^6">
                                   <field name="TEXT"></field>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
                 <block type="math_arithmetic" id="xwnzXAGK!}3ZV`cn+p-J" inline="false" x="318" y="281">
                   <field name="OP">MINUS</field>
                   <value name="A">
                     <shadow type="math_number">
                       <field name="NUM">1</field>
                     </shadow>
                     <block type="variables_get" id="SV_szV+egA]WXMJuUu0A">
                       <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                     </block>
                   </value>
                   <value name="B">
                     <shadow type="math_number">
                       <field name="NUM">1</field>
                     </shadow>
                     <block type="variables_get" id="s7O)lDYhn!.(UeSGgj(c">
                       <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                     </block>
                   </value>
                 </block>
                </xml>
                

                sigi234S Online
                sigi234S Online
                sigi234
                Forum Testing Most Active
                schrieb am zuletzt editiert von sigi234
                #28

                @Kuddel

                Hallo, da ist ein Fehler drinnen, Blöcke nicht verbunden

                Screenshot (2738)_LI.jpg

                Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Immer Daten sichern!

                K 1 Antwort Letzte Antwort
                0
                • sigi234S sigi234

                  @Kuddel

                  Hallo, da ist ein Fehler drinnen, Blöcke nicht verbunden

                  Screenshot (2738)_LI.jpg

                  K Offline
                  K Offline
                  Kuddel
                  schrieb am zuletzt editiert von
                  #29

                  @sigi234 oh danke, die blöcke sind überflüssig

                  D 1 Antwort Letzte Antwort
                  0
                  • K Kuddel

                    @sigi234 oh danke, die blöcke sind überflüssig

                    D Offline
                    D Offline
                    dos1973
                    schrieb am zuletzt editiert von
                    #30

                    @Kuddel

                    Danke Dir, schau ich mir morgen an.

                    D 1 Antwort Letzte Antwort
                    0
                    • D dos1973

                      @Kuddel

                      Danke Dir, schau ich mir morgen an.

                      D Offline
                      D Offline
                      dos1973
                      schrieb am zuletzt editiert von
                      #31

                      @Kuddel 1A. Klappt Super. Thx

                      K 1 Antwort Letzte Antwort
                      0
                      • D dos1973

                        @Kuddel 1A. Klappt Super. Thx

                        K Offline
                        K Offline
                        Kuddel
                        schrieb am zuletzt editiert von
                        #32

                        @dos1973 habe noch einen offenen Punkt, nur leider noch keine Idee.

                        Wenn man auf Pausen klickt, wird die Enduhrzeit nicht weiter berechnet

                        D 1 Antwort Letzte Antwort
                        0
                        • K Kuddel

                          @dos1973 habe noch einen offenen Punkt, nur leider noch keine Idee.

                          Wenn man auf Pausen klickt, wird die Enduhrzeit nicht weiter berechnet

                          D Offline
                          D Offline
                          dos1973
                          schrieb am zuletzt editiert von
                          #33

                          @Kuddel
                          Stimmt, jetzt wo du e sagst.
                          Idee. Timestamp „pause“ zu Timestamp endzeit addieren

                          Soviel zu Theorie ;-)

                          K 1 Antwort Letzte Antwort
                          0
                          • D dos1973

                            @Kuddel
                            Stimmt, jetzt wo du e sagst.
                            Idee. Timestamp „pause“ zu Timestamp endzeit addieren

                            Soviel zu Theorie ;-)

                            K Offline
                            K Offline
                            Kuddel
                            schrieb am zuletzt editiert von
                            #34

                            @dos1973 das Problem ist nur, dass das Skript nicht mehr auslöst, wenn Kodi pausiert.

                            weder state noch Spielzeit ändern sich.

                            Hmm mit einer Schleife will ich nur ungern arbeiten

                            D 1 Antwort Letzte Antwort
                            0
                            • K Kuddel

                              @dos1973 das Problem ist nur, dass das Skript nicht mehr auslöst, wenn Kodi pausiert.

                              weder state noch Spielzeit ändern sich.

                              Hmm mit einer Schleife will ich nur ungern arbeiten

                              D Offline
                              D Offline
                              dos1973
                              schrieb am zuletzt editiert von
                              #35

                              @Kuddel
                              Wäre state change ein trigger?
                              Hab jetzt kein kodi vor mir, aber ich meine der state ändert sich.

                              K 1 Antwort Letzte Antwort
                              0
                              • D dos1973

                                @Kuddel
                                Wäre state change ein trigger?
                                Hab jetzt kein kodi vor mir, aber ich meine der state ändert sich.

                                K Offline
                                K Offline
                                Kuddel
                                schrieb am zuletzt editiert von
                                #36

                                @dos1973 ja der State ändern sich auf Pause.

                                dann läuft das Skript noch genau einmal.

                                macht man 5 min Pause, wird die Enduhrzeit für 5min nicht weiter berechnet da sich weder state noch Spielzeit in den 5 min ändern

                                K 1 Antwort Letzte Antwort
                                0
                                • K Kuddel

                                  @dos1973 ja der State ändern sich auf Pause.

                                  dann läuft das Skript noch genau einmal.

                                  macht man 5 min Pause, wird die Enduhrzeit für 5min nicht weiter berechnet da sich weder state noch Spielzeit in den 5 min ändern

                                  K Offline
                                  K Offline
                                  Kuddel
                                  schrieb am zuletzt editiert von
                                  #37

                                  @dos1973 habe mir nochmal gedanken gemacht.

                                  habe das Skript jetzt in drei Falls-Blöcke unterteilt: Play, Pause, Stop

                                  Pause sieht so aus (mit einer Schleife alle 60 Sek.)

                                  f0de324c-dd39-48e3-be80-d94ff9628034-grafik.png

                                  Leider funktioniert die Berechnung noch nicht ganz.

                                  @paul53 kannst du helfen ?

                                  paul53P 1 Antwort Letzte Antwort
                                  0
                                  • K Kuddel

                                    @dos1973 habe mir nochmal gedanken gemacht.

                                    habe das Skript jetzt in drei Falls-Blöcke unterteilt: Play, Pause, Stop

                                    Pause sieht so aus (mit einer Schleife alle 60 Sek.)

                                    f0de324c-dd39-48e3-be80-d94ff9628034-grafik.png

                                    Leider funktioniert die Berechnung noch nicht ganz.

                                    @paul53 kannst du helfen ?

                                    paul53P Offline
                                    paul53P Offline
                                    paul53
                                    schrieb am zuletzt editiert von paul53
                                    #38

                                    @Kuddel
                                    Die Restzeit ändert sich in der Pause nicht, sondern nur die aktuelle Zeit.

                                    Blockly_temp.JPG

                                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                    K 1 Antwort Letzte Antwort
                                    0
                                    • paul53P paul53

                                      @Kuddel
                                      Die Restzeit ändert sich in der Pause nicht, sondern nur die aktuelle Zeit.

                                      Blockly_temp.JPG

                                      K Offline
                                      K Offline
                                      Kuddel
                                      schrieb am zuletzt editiert von
                                      #39

                                      @paul53 es geht auch nicht um die Restzeit, sondern um die Enduhrzeit des Films.

                                      Die verändert sich in der Pause ja.

                                      paul53P 1 Antwort Letzte Antwort
                                      0
                                      • K Kuddel

                                        @paul53 es geht auch nicht um die Restzeit, sondern um die Enduhrzeit des Films.

                                        Die verändert sich in der Pause ja.

                                        paul53P Offline
                                        paul53P Offline
                                        paul53
                                        schrieb am zuletzt editiert von paul53
                                        #40

                                        @Kuddel sagte:

                                        um die Enduhrzeit des Films.

                                        Die wird im Intervall jede Minute neu berechnet und ausgegeben.

                                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                        K 1 Antwort Letzte Antwort
                                        0
                                        • paul53P paul53

                                          @Kuddel sagte:

                                          um die Enduhrzeit des Films.

                                          Die wird im Intervall jede Minute neu berechnet und ausgegeben.

                                          K Offline
                                          K Offline
                                          Kuddel
                                          schrieb am zuletzt editiert von
                                          #41

                                          @paul53 wir meinen auf jeden Fall das gleiche. Es funzt. Vielen Dank.

                                          02eea426-7879-4b0d-837c-1264d88b59bb-grafik.png

                                          Export:

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                           <variables>
                                             <variable id="Gv49fQ40~+/ya6#JMvO}">time_total</variable>
                                             <variable id="8?J4Jmf7%_-wS9!yell|">time</variable>
                                             <variable id="z6@)Eo%V776?qOlzgeJq">sekunden_total</variable>
                                             <variable type="interval" id="pause">pause</variable>
                                             <variable id="c70ch.|4qGYP3!UEvS8x">sekunden</variable>
                                             <variable id="7gbI~lkqQ~M|C;mJ+cDq">i</variable>
                                             <variable type="timeout" id="timeout">timeout</variable>
                                             <variable id="fB}3.DkAG[Zns[jkc^B)">diff</variable>
                                             <variable id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</variable>
                                           </variables>
                                           <block type="on_ext" id="mhrPpA^7UN)RTNT]/[[R" x="-12" y="-387">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                             <field name="CONDITION">ne</field>
                                             <field name="ACK_CONDITION"></field>
                                             <value name="OID0">
                                               <shadow type="field_oid" id="X%v$|Bp`D)/8o$MsBajH">
                                                 <field name="oid">kodi.0.info.playing_time</field>
                                               </shadow>
                                             </value>
                                             <value name="OID1">
                                               <shadow type="field_oid" id="^}PdG{a#qWn,IS+^NU!x">
                                                 <field name="oid">kodi.0.state</field>
                                               </shadow>
                                             </value>
                                             <statement name="STATEMENT">
                                               <block type="comment" id="e).{m6=;nkG@Eqt4*$Z:">
                                                 <field name="COMMENT">Play</field>
                                                 <next>
                                                   <block type="controls_if" id="I9pPj}k.Tg@,RB-Ad!C^" collapsed="true">
                                                     <value name="IF0">
                                                       <block type="logic_compare" id="f;Y93jeAj5hLE=HpAXci">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="get_value" id="+oIYTrzhXShgXD?-dx?!">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">kodi.0.state</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="text" id="L7`/vLtiabj}GQ5_)n?I">
                                                             <field name="TEXT">play</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="variables_set" id="fTK`7dy@}I9{xOUk:fdm">
                                                         <field name="VAR" id="Gv49fQ40~+/ya6#JMvO}">time_total</field>
                                                         <value name="VALUE">
                                                           <block type="lists_split" id="fSNHlFM[e|2s~?~WLoA]">
                                                             <mutation mode="SPLIT"></mutation>
                                                             <field name="MODE">SPLIT</field>
                                                             <value name="INPUT">
                                                               <block type="get_value" id="%}I/[z=}v|bA_s+cN3T+">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">kodi.0.info.playing_time_total</field>
                                                               </block>
                                                             </value>
                                                             <value name="DELIM">
                                                               <shadow type="text" id="bO/MuTT:URPjI@SOF^wu">
                                                                 <field name="TEXT">:</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="variables_set" id="3L:9B.c/-jdK~YPS;}kk">
                                                             <field name="VAR" id="8?J4Jmf7%_-wS9!yell|">time</field>
                                                             <value name="VALUE">
                                                               <block type="lists_split" id="m0vWY?4A}Fy?zECIMa-g">
                                                                 <mutation mode="SPLIT"></mutation>
                                                                 <field name="MODE">SPLIT</field>
                                                                 <value name="INPUT">
                                                                   <block type="get_value" id="cmBA^z.eb9hODfdHQbW8">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">kodi.0.info.playing_time</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="DELIM">
                                                                   <shadow type="text" id=";o/sw@k#dD0mWkC4+b)M">
                                                                     <field name="TEXT">:</field>
                                                                   </shadow>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="variables_set" id=";/]R)Ct0Dfu6i-d@fN1=">
                                                                 <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_number" id="!A%IT%#arX*{$UY8=Kva">
                                                                     <field name="NUM">0</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="variables_set" id="%LYJ{05i.|T3]O%OZlti">
                                                                     <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                                     <value name="VALUE">
                                                                       <block type="math_number" id="-:ZTaSM~NWM#h9LoWuBz">
                                                                         <field name="NUM">0</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="controls_for" id="2R-$*vTVI{p#n(T8RV.d">
                                                                         <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                                         <value name="FROM">
                                                                           <shadow type="math_number" id="yo3lqjuQw}eovRb+XXQ?">
                                                                             <field name="NUM">1</field>
                                                                           </shadow>
                                                                         </value>
                                                                         <value name="TO">
                                                                           <shadow type="math_number">
                                                                             <field name="NUM">10</field>
                                                                           </shadow>
                                                                           <block type="lists_length" id="030ssz#WyY6qdm{Y]+%7">
                                                                             <value name="VALUE">
                                                                               <block type="variables_get" id="LtjmBy}A-?%QRfowFhZH">
                                                                                 <field name="VAR" id="Gv49fQ40~+/ya6#JMvO}">time_total</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <value name="BY">
                                                                           <shadow type="math_number" id="W4)e3sbN-C[AtksvJyb0">
                                                                             <field name="NUM">1</field>
                                                                           </shadow>
                                                                         </value>
                                                                         <statement name="DO">
                                                                           <block type="math_change" id="gZ[fn:P}L%w5Hu*/k[w]">
                                                                             <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                                                             <value name="DELTA">
                                                                               <shadow type="math_number">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                               <block type="math_arithmetic" id="_nrssb{}I|MM@7r=B2*[" inline="false">
                                                                                 <field name="OP">MULTIPLY</field>
                                                                                 <value name="A">
                                                                                   <shadow type="math_number">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="math_arithmetic" id="?QRRgY%9F+.UW^4Wl#AO">
                                                                                     <field name="OP">POWER</field>
                                                                                     <value name="A">
                                                                                       <shadow type="math_number" id="`nZhdJ)1xBsAmv:WOH{$">
                                                                                         <field name="NUM">60</field>
                                                                                       </shadow>
                                                                                     </value>
                                                                                     <value name="B">
                                                                                       <shadow type="math_number">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="math_arithmetic" id="%5v;FD87a~}IdxMU?0vb">
                                                                                         <field name="OP">MINUS</field>
                                                                                         <value name="A">
                                                                                           <shadow type="math_number">
                                                                                             <field name="NUM">1</field>
                                                                                           </shadow>
                                                                                           <block type="variables_get" id="~kv8]AFICio,y}2%8r:A">
                                                                                             <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="B">
                                                                                           <shadow type="math_number" id="By?4fEM=/cIUg=PVf-%.">
                                                                                             <field name="NUM">1</field>
                                                                                           </shadow>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="B">
                                                                                   <shadow type="math_number">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="convert_tonumber" id="Xjk8qkB+rf0:[Z@JKl{4">
                                                                                     <value name="VALUE">
                                                                                       <block type="lists_getIndex" id="=M7:!eN*k,;Op`ncPBu)">
                                                                                         <mutation statement="false" at="true"></mutation>
                                                                                         <field name="MODE">GET</field>
                                                                                         <field name="WHERE">FROM_END</field>
                                                                                         <value name="VALUE">
                                                                                           <block type="variables_get" id="4n4]sPE}}yOyCqIR6sK$">
                                                                                             <field name="VAR" id="Gv49fQ40~+/ya6#JMvO}">time_total</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="AT">
                                                                                           <block type="variables_get" id="5KN91f+6[?BIQQU^P+T/">
                                                                                             <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </statement>
                                                                         <next>
                                                                           <block type="controls_for" id="/[|3}k{qYeK4wFiN6#lx">
                                                                             <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                                             <value name="FROM">
                                                                               <shadow type="math_number" id="1FErI$q)qi=X^N_:%Js?">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                             </value>
                                                                             <value name="TO">
                                                                               <shadow type="math_number">
                                                                                 <field name="NUM">10</field>
                                                                               </shadow>
                                                                               <block type="lists_length" id="yJ$~7a^l4Gd#j:0c3$xr">
                                                                                 <value name="VALUE">
                                                                                   <block type="variables_get" id="Lh*:^j)}o|0jC8rH:.-+">
                                                                                     <field name="VAR" id="8?J4Jmf7%_-wS9!yell|">time</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <value name="BY">
                                                                               <shadow type="math_number" id="T3rAediff*:%E88l7+4%">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                             </value>
                                                                             <statement name="DO">
                                                                               <block type="math_change" id="Bsy0,}!M#a)Xi$$B[t]z">
                                                                                 <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                                                 <value name="DELTA">
                                                                                   <shadow type="math_number">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="math_arithmetic" id="ecXevA40kHBJjiNry:#^" inline="false">
                                                                                     <field name="OP">MULTIPLY</field>
                                                                                     <value name="A">
                                                                                       <shadow type="math_number">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="math_arithmetic" id="K#Ey7v.v;+lcl{1f@5]H">
                                                                                         <field name="OP">POWER</field>
                                                                                         <value name="A">
                                                                                           <shadow type="math_number" id="a~E=mS#u_.VcC[jX^/;*">
                                                                                             <field name="NUM">60</field>
                                                                                           </shadow>
                                                                                         </value>
                                                                                         <value name="B">
                                                                                           <shadow type="math_number">
                                                                                             <field name="NUM">1</field>
                                                                                           </shadow>
                                                                                           <block type="math_arithmetic" id="p}_MS2!F;,r~o9#j=$`e">
                                                                                             <field name="OP">MINUS</field>
                                                                                             <value name="A">
                                                                                               <shadow type="math_number">
                                                                                                 <field name="NUM">1</field>
                                                                                               </shadow>
                                                                                               <block type="variables_get" id="Wr7+iV$a;ynQ,P%0v/|h">
                                                                                                 <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                                                               </block>
                                                                                             </value>
                                                                                             <value name="B">
                                                                                               <shadow type="math_number" id="7DDk.nAP2`-o[3:5T/`V">
                                                                                                 <field name="NUM">1</field>
                                                                                               </shadow>
                                                                                             </value>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="B">
                                                                                       <shadow type="math_number">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="convert_tonumber" id="95Wkc=Wn9wjOL/~emwC:">
                                                                                         <value name="VALUE">
                                                                                           <block type="lists_getIndex" id="):n}4;0GiBs#gE+_-.uf">
                                                                                             <mutation statement="false" at="true"></mutation>
                                                                                             <field name="MODE">GET</field>
                                                                                             <field name="WHERE">FROM_END</field>
                                                                                             <value name="VALUE">
                                                                                               <block type="variables_get" id="WCs.rt_18?skHj|HC;)H">
                                                                                                 <field name="VAR" id="8?J4Jmf7%_-wS9!yell|">time</field>
                                                                                               </block>
                                                                                             </value>
                                                                                             <value name="AT">
                                                                                               <block type="variables_get" id="dA]HyO~W)iY5ROXqc$PI">
                                                                                                 <field name="VAR" id="7gbI~lkqQ~M|C;mJ+cDq">i</field>
                                                                                               </block>
                                                                                             </value>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </statement>
                                                                             <next>
                                                                               <block type="variables_set" id="x8t?3^{cNVFaKtPFnFq9">
                                                                                 <field name="VAR" id="fB}3.DkAG[Zns[jkc^B)">diff</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="math_arithmetic" id="2+`tDY!LQG^9AZO8#!ZQ" inline="false">
                                                                                     <field name="OP">MULTIPLY</field>
                                                                                     <value name="A">
                                                                                       <shadow type="math_number" id="(_=}+a~Ov.r2s~-^a_*5">
                                                                                         <field name="NUM">1000</field>
                                                                                       </shadow>
                                                                                     </value>
                                                                                     <value name="B">
                                                                                       <shadow type="math_number">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="math_arithmetic" id="D.`(%|9dOcm*(umN9bT@" inline="false">
                                                                                         <field name="OP">MINUS</field>
                                                                                         <value name="A">
                                                                                           <shadow type="math_number">
                                                                                             <field name="NUM">1</field>
                                                                                           </shadow>
                                                                                           <block type="variables_get" id="u7f(0GaP.#L;(fYVBLIF">
                                                                                             <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="B">
                                                                                           <shadow type="math_number">
                                                                                             <field name="NUM">1</field>
                                                                                           </shadow>
                                                                                           <block type="variables_get" id="]@3~@l|_;uO[L%2ioP,k">
                                                                                             <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                                 <next>
                                                                                   <block type="variables_set" id="@IH=J5P5=tnH`9Iu_Px|">
                                                                                     <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="math_arithmetic" id="~E$;9??|fPcDC|HJqW`-" inline="false">
                                                                                         <field name="OP">MINUS</field>
                                                                                         <value name="A">
                                                                                           <shadow type="math_number">
                                                                                             <field name="NUM">1</field>
                                                                                           </shadow>
                                                                                           <block type="variables_get" id="1`UnN?gb.[~)w}d6VRR)">
                                                                                             <field name="VAR" id="z6@)Eo%V776?qOlzgeJq">sekunden_total</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="B">
                                                                                           <shadow type="math_number">
                                                                                             <field name="NUM">1</field>
                                                                                           </shadow>
                                                                                           <block type="variables_get" id=")m(;caB*Y|AI7#H$k`-_">
                                                                                             <field name="VAR" id="c70ch.|4qGYP3!UEvS8x">sekunden</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                     <next>
                                                                                       <block type="control" id="E.QKHpVBex}})iCx|o|3">
                                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                         <field name="OID">javascript.0.sonstige.kodi_endzeit</field>
                                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                                         <value name="VALUE">
                                                                                           <block type="text_join" id="r1UQi]J^lm7$v9OOADL%">
                                                                                             <mutation items="2"></mutation>
                                                                                             <value name="ADD0">
                                                                                               <block type="convert_from_date" id="TgQBU@2m$Aam**8naRqf">
                                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                                 <field name="OPTION">hh:mm</field>
                                                                                                 <value name="VALUE">
                                                                                                   <block type="math_arithmetic" id="vFX,u4337mHL^[94MZjL">
                                                                                                     <field name="OP">ADD</field>
                                                                                                     <value name="A">
                                                                                                       <shadow type="math_number">
                                                                                                         <field name="NUM">1</field>
                                                                                                       </shadow>
                                                                                                       <block type="time_get" id="WGy*s;07oKI/J`GDI-x3">
                                                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                                         <field name="OPTION">object</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="B">
                                                                                                       <shadow type="math_number">
                                                                                                         <field name="NUM">1</field>
                                                                                                       </shadow>
                                                                                                       <block type="variables_get" id="%/#p`[h/wlvqSaXg{l2J">
                                                                                                         <field name="VAR" id="fB}3.DkAG[Zns[jkc^B)">diff</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </value>
                                                                                               </block>
                                                                                             </value>
                                                                                             <value name="ADD1">
                                                                                               <block type="text" id="+v9neh|_70u#CP~sT+@%">
                                                                                                 <field name="TEXT"> Uhr</field>
                                                                                               </block>
                                                                                             </value>
                                                                                           </block>
                                                                                         </value>
                                                                                         <next>
                                                                                           <block type="comment" id=":K!+{P30dMt;$jGMg6$T">
                                                                                             <field name="COMMENT">Restzeit in DP schreiben</field>
                                                                                             <next>
                                                                                               <block type="controls_if" id="YLU1O|*kP;~~)*%A*c64" collapsed="true">
                                                                                                 <mutation else="1"></mutation>
                                                                                                 <value name="IF0">
                                                                                                   <block type="logic_compare" id="O/cS/vtiw%t25mVoX0E)">
                                                                                                     <field name="OP">GTE</field>
                                                                                                     <value name="A">
                                                                                                       <block type="variables_get" id="Z9ar3}8Z9NYbMmd_Lr{$">
                                                                                                         <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="B">
                                                                                                       <block type="math_number" id="EQS;F?$mC9ays!GQHelg">
                                                                                                         <field name="NUM">3600</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </value>
                                                                                                 <statement name="DO0">
                                                                                                   <block type="control" id=":vGI/P.wI*w^?R3?]A_y">
                                                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                     <field name="OID">javascript.0.sonstige.kodi_restzeit</field>
                                                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                                                     <value name="VALUE">
                                                                                                       <block type="text_join" id="qj]1+vKK[~s9~4E-?Hmt">
                                                                                                         <mutation items="2"></mutation>
                                                                                                         <value name="ADD0">
                                                                                                           <block type="convert_from_date" id="op^3$IrO,sQp3qbNH[yr">
                                                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                                             <field name="OPTION">hh:mm:ss</field>
                                                                                                             <value name="VALUE">
                                                                                                               <block type="math_arithmetic" id="`@gy7^%rBU*AJl2gq,W^" inline="false">
                                                                                                                 <field name="OP">ADD</field>
                                                                                                                 <value name="A">
                                                                                                                   <shadow type="math_number" id="7DRWC8OQ|/xV,23*f7b.">
                                                                                                                     <field name="NUM">1</field>
                                                                                                                   </shadow>
                                                                                                                   <block type="math_arithmetic" id="SRr*2A-d~+C3S^ASaz|z" inline="false">
                                                                                                                     <field name="OP">MULTIPLY</field>
                                                                                                                     <value name="A">
                                                                                                                       <shadow type="math_number" id="B;w,.X}/n^mV^MqBH1EO">
                                                                                                                         <field name="NUM">1</field>
                                                                                                                       </shadow>
                                                                                                                       <block type="variables_get" id="Gje!a(?`DOk/EP7U~{+7">
                                                                                                                         <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                     <value name="B">
                                                                                                                       <shadow type="math_number" id="eh15lqzy94bn2F7r%vLT">
                                                                                                                         <field name="NUM">1000</field>
                                                                                                                       </shadow>
                                                                                                                     </value>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                                 <value name="B">
                                                                                                                   <shadow type="math_number" id="K2`(*`(@|mb~gR~jDTT.">
                                                                                                                     <field name="NUM">1</field>
                                                                                                                   </shadow>
                                                                                                                   <block type="convert_from_date" id="D)wHz^=FFv!%zu14#F`9">
                                                                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                                                     <field name="OPTION">object</field>
                                                                                                                     <value name="VALUE">
                                                                                                                       <block type="text" id="l2}(S$*x*xXv8{@KIM.D">
                                                                                                                         <field name="TEXT">1970-01-01 00:00</field>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                         <value name="ADD1">
                                                                                                           <block type="text" id=":iAB8qR}G,901EBDh9V@">
                                                                                                             <field name="TEXT"> Std.</field>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </statement>
                                                                                                 <statement name="ELSE">
                                                                                                   <block type="control" id="1TUgHZS-t^g/r?roa;T:">
                                                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                     <field name="OID">javascript.0.sonstige.kodi_restzeit</field>
                                                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                                                     <value name="VALUE">
                                                                                                       <block type="text_join" id="T7V(Q!yelYlEyv$W7W4_">
                                                                                                         <mutation items="2"></mutation>
                                                                                                         <value name="ADD0">
                                                                                                           <block type="convert_from_date" id="jqWJ%(d*IN6r=2uM2yvn">
                                                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                                                                             <field name="OPTION">custom</field>
                                                                                                             <field name="FORMAT">mm:ss</field>
                                                                                                             <value name="VALUE">
                                                                                                               <block type="math_arithmetic" id="V_}s;3rr[k0N-jfh|V}}" inline="false">
                                                                                                                 <field name="OP">ADD</field>
                                                                                                                 <value name="A">
                                                                                                                   <shadow type="math_number" id=".@}R8NgR0O}W6q=Evlt;">
                                                                                                                     <field name="NUM">1</field>
                                                                                                                   </shadow>
                                                                                                                   <block type="math_arithmetic" id=")rp!A(b[(?HtEXZ4lGAs" inline="false">
                                                                                                                     <field name="OP">MULTIPLY</field>
                                                                                                                     <value name="A">
                                                                                                                       <shadow type="math_number">
                                                                                                                         <field name="NUM">1</field>
                                                                                                                       </shadow>
                                                                                                                       <block type="variables_get" id="p?7L/:k:KJVYeaAb(Pvk">
                                                                                                                         <field name="VAR" id="=M^bc[m%CQVRvq!f}vIA">rest_sek_gesamt</field>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                     <value name="B">
                                                                                                                       <shadow type="math_number" id="$eyPSY:~L?%j}!8_HgRv">
                                                                                                                         <field name="NUM">1000</field>
                                                                                                                       </shadow>
                                                                                                                     </value>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                                 <value name="B">
                                                                                                                   <shadow type="math_number">
                                                                                                                     <field name="NUM">1</field>
                                                                                                                   </shadow>
                                                                                                                   <block type="convert_from_date" id="y9P,E-JX6-@5QR+90)Ca">
                                                                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                                                     <field name="OPTION">object</field>
                                                                                                                     <value name="VALUE">
                                                                                                                       <block type="text" id="rE/w?T7DF_A_Vh|YK/Rp">
                                                                                                                         <field name="TEXT">1970-01-01 00:00</field>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                         <value name="ADD1">
                                                                                                           <block type="text" id="hNX8Lh|^E|EZ)wM(jO+[">
                                                                                                             <field name="TEXT"> Min.</field>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </statement>
                                                                                               </block>
                                                                                             </next>
                                                                                           </block>
                                                                                         </next>
                                                                                       </block>
                                                                                     </next>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="comment" id="+zq5@V@e$$#D{-]3AT-E">
                                                         <field name="COMMENT">Pause</field>
                                                         <next>
                                                           <block type="controls_if" id=";n_=@UVd^DqV.?;]3Jq6" collapsed="true">
                                                             <mutation else="1"></mutation>
                                                             <value name="IF0">
                                                               <block type="logic_compare" id="~?TdMe@2kWc!X~CHG#Px">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="get_value" id="vkq#*7CI%~KAo6}aN`.*">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">kodi.0.state</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="Sd)4bs6WWM-wKb|6|kBW">
                                                                     <field name="TEXT">pause</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="timeouts_setinterval" id="!8Wv4SBCEvUmrE;TW4!5">
                                                                 <field name="NAME">pause</field>
                                                                 <field name="INTERVAL">1</field>
                                                                 <field name="UNIT">min</field>
                                                                 <statement name="STATEMENT">
                                                                   <block type="comment" id="]`=!gRNO}!?WJ9H4/w~5">
                                                                     <field name="COMMENT">Enduhrzeit in DP schreiben</field>
                                                                     <next>
                                                                       <block type="control" id="A4j1_:q-k8t:BD.o3HPR">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                         <field name="OID">javascript.0.sonstige.kodi_endzeit</field>
                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                         <value name="VALUE">
                                                                           <block type="text_join" id="LR9vlB1j/],FLkOk=5/0">
                                                                             <mutation items="2"></mutation>
                                                                             <value name="ADD0">
                                                                               <block type="convert_from_date" id="-M]s,Gg]qRi]#p_i*Pr4">
                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                 <field name="OPTION">hh:mm</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="math_arithmetic" id="!ksjJXQg#CH{1t!3Q~H%" inline="false">
                                                                                     <field name="OP">ADD</field>
                                                                                     <value name="A">
                                                                                       <shadow type="math_number" id="}w#EY{y_=LB$2/IK5B4D">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="time_get" id="eXoj:YRIaA[2x~W%8#OJ">
                                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                         <field name="OPTION">object</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="B">
                                                                                       <shadow type="math_number" id="T?9oKpMb-p2G6x_qe+HM">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="variables_get" id="7h~WCpO,zUTA,*7{lzh6">
                                                                                         <field name="VAR" id="fB}3.DkAG[Zns[jkc^B)">diff</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD1">
                                                                               <block type="text" id="$D@48(mTlXBKja}5yTVe">
                                                                                 <field name="TEXT"> Uhr</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </statement>
                                                             <statement name="ELSE">
                                                               <block type="timeouts_clearinterval" id="h`yOHRQ.,nZ-({~pH.}t">
                                                                 <field name="NAME">pause</field>
                                                               </block>
                                                             </statement>
                                                             <next>
                                                               <block type="comment" id="w~DY]eDh4!M4G05i:ir)">
                                                                 <field name="COMMENT">Stop</field>
                                                                 <next>
                                                                   <block type="controls_if" id="C#zmK?=rWEEceQ=e3`H%" collapsed="true">
                                                                     <value name="IF0">
                                                                       <block type="logic_compare" id="%+qm,D`-fAh`)B455.6L">
                                                                         <field name="OP">EQ</field>
                                                                         <value name="A">
                                                                           <block type="get_value" id="#Tr$;,0QAf^kEl@|?I=A">
                                                                             <field name="ATTR">val</field>
                                                                             <field name="OID">kodi.0.state</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <block type="text" id="Wfz6nysYViLI1`-KM^;x">
                                                                             <field name="TEXT">stop</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <statement name="DO0">
                                                                       <block type="timeouts_settimeout" id="a1k-cGo80C?L%m#=$.:h">
                                                                         <field name="NAME">timeout</field>
                                                                         <field name="DELAY">1000</field>
                                                                         <field name="UNIT">ms</field>
                                                                         <statement name="STATEMENT">
                                                                           <block type="control" id="VSZMp_fJpd1OzYCY=~xN">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                             <field name="OID">javascript.0.sonstige.kodi_endzeit</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="text" id="b8vzkml]yd@f[0(Q`e(2">
                                                                                 <field name="TEXT"></field>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="control" id="AIf3cY6ex%9}xpyKmOtB">
                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                 <field name="OID">javascript.0.sonstige.kodi_restzeit</field>
                                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="text" id="nX.)Ffq{`}-Hsq,#!6^6">
                                                                                     <field name="TEXT"></field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </statement>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                          </xml>
                                          

                                          D 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          557

                                          Online

                                          32.7k

                                          Benutzer

                                          82.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe