[BBcode] 

IOBroker: Scripte

Alexa Wortfilter

Image/photo

  1.  <xml xmlns="%eY9-!://www.w3.org/1999/xhtml">
  2.   <block type="on_ext" id="NUagg%u4Uu1{rA8C[o%z" x="-12" y="-637">
  3.      <mutation items="1"></mutation>
  4.      <field name="CONDITION">ne</field>
  5.      <field name="ACK_CONDITION"></field>
  6.      <value name="OID0">
  7.       <shadow type="field_oid" id="iFX0wFCEvnK)Aa1}13,H">
  8.          <field name="oid">alexa2.0.Echo-Devices.G090U50784372BGB.Player.currentTitle</field>
  9.       </shadow>
  10.      </value>
  11.      <statement name="STATEMENT">
  12.       <block type="debug" id="0`g{8hf,1uc#5YIFIMh," disabled="true">
  13.          <field name="Severity">log</field>
  14.          <value name="TEXT">
  15.           <shadow type="text" id="}r_IoJaQ^d(-E4;dN=Y.">
  16.              <field name="TEXT">test</field>
  17.           </shadow>
  18.           <block type="logic_compare" id="F3d:lS~`)J+G48Z)rQD3">
  19.              <field name="OP">GT</field>
  20.              <value name="A">
  21.               <block type="text_indexOf" id="rt=%=ASIr6v|lhp.jSo7">
  22.                  <field name="END">FIRST</field>
  23.                  <value name="VALUE">
  24.                   <block type="get_value" id=";H!h)1oR$[K43BCMh?!B">
  25.                      <field name="ATTR">val</field>
  26.                      <field name="OID">alexa2.0.Echo-Devices.G090U50784430833.Player.currentTitle</field>
  27.                   </block>
  28.                  </value>
  29.                  <value name="FIND">
  30.                   <shadow type="text" id="tPlKowmE4Q;$f=g.748E">
  31.                      <field name="TEXT">Explicit</field>
  32.                   </shadow>
  33.                  </value>
  34.               </block>
  35.              </value>
  36.              <value name="B">
  37.               <block type="math_number" id="RX~mLuiYw$LV@qF0.U)2">
  38.                  <field name="NUM">0</field>
  39.               </block>
  40.              </value>
  41.           </block>
  42.          </value>
  43.          <next>
  44.           <block type="controls_if" id=",3[C%N-Ir!U6GDaBcl=S">
  45.              <value name="IF0">
  46.               <block type="logic_operation" id="=yV*0uL8|@OcJieNIRVr" inline="false">
  47.                  <field name="OP">OR</field>
  48.                  <value name="A">
  49.                   <block type="logic_operation" id="_.m=hKMDpu+.$ijfmTO%" inline="false">
  50.                      <field name="OP">AND</field>
  51.                      <value name="A">
  52.                       <block type="logic_compare" id="1C]/Wqlem,wHXTP:XT{{">
  53.                          <field name="OP">GT</field>
  54.                          <value name="A">
  55.                           <block type="text_indexOf" id="S,QlnVX6L1_uD6:i^wi:">
  56.                              <field name="END">FIRST</field>
  57.                              <value name="VALUE">
  58.                               <block type="get_value" id="LxHhb4a.g@jL/-PAxvXO">
  59.                                  <field name="ATTR">val</field>
  60.                                  <field name="OID">alexa2.0.Echo-Devices.G090U50784430833.Player.currentArtist</field>
  61.                               </block>
  62.                              </value>
  63.                              <value name="FIND">
  64.                               <shadow type="text" id="!LSi)6GnpPJduG4ba`w4">
  65.                                  <field name="TEXT">Swiss</field>
  66.                               </shadow>
  67.                              </value>
  68.                           </block>
  69.                          </value>
  70.                          <value name="B">
  71.                           <block type="math_number" id="6[F6L4KU]_Oz-TIWP4`G">
  72.                              <field name="NUM">0</field>
  73.                           </block>
  74.                          </value>
  75.                       </block>
  76.                      </value>
  77.                      <value name="B">
  78.                       <block type="logic_compare" id="#oqC9qZ=+Uh.3xrje=)$">
  79.                          <field name="OP">GT</field>
  80.                          <value name="A">
  81.                           <block type="text_indexOf" id="J001qsuFp1ej!(ED[4zO">
  82.                              <field name="END">FIRST</field>
  83.                              <value name="VALUE">
  84.                               <block type="get_value" id="8U!kEwWAScq:eFR=_@MN">
  85.                                  <field name="ATTR">val</field>
  86.                                  <field name="OID">alexa2.0.Echo-Devices.G090U50784430833.Player.currentArtist</field>
  87.                               </block>
  88.                              </value>
  89.                              <value name="FIND">
  90.                               <shadow type="text" id="5O@iaT:Df|i*B?wdB}8G">
  91.                                  <field name="TEXT">Andern</field>
  92.                               </shadow>
  93.                              </value>
  94.                           </block>
  95.                          </value>
  96.                          <value name="B">
  97.                           <block type="math_number" id="w:*D5WQG;Sbg;sQ4uA/I">
  98.                              <field name="NUM">0</field>
  99.                           </block>
  100.                          </value>
  101.                       </block>
  102.                      </value>
  103.                   </block>
  104.                  </value>
  105.                  <value name="B">
  106.                   <block type="logic_compare" id="]p(yaKJ!Bl%CR]y+^e0^">
  107.                      <field name="OP">GT</field>
  108.                      <value name="A">
  109.                       <block type="text_indexOf" id="$u#_j@~mXQ-}izIeh!M:">
  110.                          <field name="END">FIRST</field>
  111.                          <value name="VALUE">
  112.                           <block type="get_value" id="7[8noRG1BgMfpEyamlJ7">
  113.                              <field name="ATTR">val</field>
  114.                              <field name="OID">alexa2.0.Echo-Devices.G090U50784430833.Player.currentTitle</field>
  115.                           </block>
  116.                          </value>
  117.                          <value name="FIND">
  118.                           <shadow type="text" id="iIWV(Zauj%*-*nK)Dk_#">
  119.                              <field name="TEXT">[Explicit]</field>
  120.                           </shadow>
  121.                          </value>
  122.                       </block>
  123.                      </value>
  124.                      <value name="B">
  125.                       <block type="math_number" id="qNrD_Yz|1`$$`(X6$Q2B">
  126.                          <field name="NUM">0</field>
  127.                       </block>
  128.                      </value>
  129.                   </block>
  130.                  </value>
  131.               </block>
  132.              </value>
  133.              <statement name="DO0">
  134.               <block type="control" id="3p/gI7;w`-7qk#HxU]/2">
  135.                  <mutation delay_input="true"></mutation>
  136.                  <field name="OID">alexa2.0.Echo-Devices.G090U50784430833.Commands.deviceStop</field>
  137.                  <field name="WITH_DELAY">TRUE</field>
  138.                  <field name="DELAY_MS">1000</field>
  139.                  <field name="UNIT">ms</field>
  140.                  <field name="CLEAR_RUNNING">FALSE</field>
  141.                  <value name="VALUE">
  142.                   <block type="logic_boolean" id="ozuv.N-%%9@+xw(!k](d">
  143.                      <field name="BOOL">TRUE</field>
  144.                   </block>
  145.                  </value>
  146.                  <next>
  147.                   <block type="control" id="Y8?Mp5}:zeG+T;4v+-=_">
  148.                      <mutation delay_input="true"></mutation>
  149.                      <field name="OID">alexa2.0.Echo-Devices.G090U50784430833.Commands.ssml</field>
  150.                      <field name="WITH_DELAY">TRUE</field>
  151.                      <field name="DELAY_MS">1000</field>
  152.                      <field name="UNIT">ms</field>
  153.                      <field name="CLEAR_RUNNING">FALSE</field>
  154.                      <value name="VALUE">
  155.                       <block type="text" id="Q%r2tKuT!s?s4n=MUq+Q">
  156.                          <field name="TEXT"><speak>Hmmm, das gefällt mir nicht, können wir was anderes hören?</speak></field>
  157.                       </block>
  158.                      </value>
  159.                   </block>
  160.                  </next>
  161.               </block>
  162.              </statement>
  163.              <next>
  164.               <block type="comment" id="]7BCz7W[M_!6+qw4k`vO">
  165.                  <field name="COMMENT">Wortfilter Kinderzimmer</field>
  166.               </block>
  167.              </next>
  168.           </block>
  169.          </next>
  170.       </block>
  171.      </statement>
  172.   </block>
  173.   <block type="comment" id=",*M.GO8x*O.mr^iYs?@z" x="12" y="-437">
  174.      <field name="COMMENT">Bestimmter Titel</field>
  175.   </block>
  176.   <block type="comment" id="?9a3MQ!.lIPkfzZXW:.u" x="-12" y="-362">
  177.      <field name="COMMENT">Amazon Marker Explicite</field>
  178.   </block>
  179.  </xml>