Änderung - bitte beachten:
Screenshot 2023-04-30 002255.png
Die gelb markierten MÜSSEN angelegt werden !
Und zwar als entsprechende Typen:
blau = Zeichenkette (string)
rot = JSON
grün = Logikwert (boolean)
und Blockly 1:
Spoiler
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="`e/`Y|g1yt[LqDde4cUg">myID</variable>
<variable id="$TGe7c|7mWim[0^Ny-*8">playlisten</variable>
<variable id="[QeIC8qHOO}iRj@3P(|N">aufzählung</variable>
<variable id="N,1;Xiv_dRREPF,8/-wJ">playlistenvalue</variable>
<variable id="qMuUH@n;-29I9Zy:c5R[">i</variable>
<variable id="A+R4;J!yy4e`~.6+ePot">playliste</variable>
<variable id="}bdAPzw$S|-/d[[-/l,Z">sort</variable>
<variable id="ZNIImHZ1MQl]hTTqQ}lA">details</variable>
<variable id="GG0W8(KE08)VPNlHI[Pf">playlistname</variable>
<variable id="/EUEs^+niuBI+e=^qt[;">objekt</variable>
</variables>
<block type="procedures_defcustomreturn" id="RR9RFRWFc/U|Eb-mEDPq" x="413" y="-287">
<mutation statements="false">
<arg name="myID" varid="`e/`Y|g1yt[LqDde4cUg"></arg>
</mutation>
<field name="NAME">Volume</field>
<field name="SCRIPT">cmV0dXJuIG15SUQucmVwbGFjZSgib3duZXIiLCJpZCIpOyA=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="schedule" id="v)gNpr{TWUHp]Rp?,fRx" x="413" y="-237">
<field name="SCHEDULE">* * * * *</field>
<statement name="STATEMENT">
<block type="variables_set" id="w7(2wOFE|5;iazx$?Z7o">
<field name="VAR" id="$TGe7c|7mWim[0^Ny-*8">playlisten</field>
<value name="VALUE">
<block type="lists_create_with" id="uiJM8.UYKR8_U;y?V%NP">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="variables_set" id="t14i7X.yb2(.R*9jvPgw">
<field name="VAR" id="[QeIC8qHOO}iRj@3P(|N">aufzählung</field>
<value name="VALUE">
<block type="selector" id="C9/ux5=-jtW1Btdde^}X">
<field name="TEXT">spotify-premium.0.playlists.*.owner</field>
</block>
</value>
<next>
<block type="controls_forEach" id="KMParn:4JO}?|=6rRZ3/">
<field name="VAR" id="qMuUH@n;-29I9Zy:c5R[">i</field>
<value name="LIST">
<block type="variables_get" id="93l(X1e$@Zw2W@SRa-zt">
<field name="VAR" id="[QeIC8qHOO}iRj@3P(|N">aufzählung</field>
</block>
</value>
<statement name="DO">
<block type="variables_set" id="nFUq5t{=rjRzLuv7|_7*">
<field name="VAR" id="ZNIImHZ1MQl]hTTqQ}lA">details</field>
<value name="VALUE">
<block type="text_join" id="#G?!I#aw1$e1pw|G1gCy">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="get_value_var" id="8]!;mtn.FPvqXs#maqbU">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="iVY`N{H/f2dO@C4Afx@K">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="oY9g#X,AVw.7x^e-S12Q">
<field name="VAR" id="qMuUH@n;-29I9Zy:c5R[">i</field>
</block>
</value>
</block>
</value>
<value name="ADD1">
<block type="text" id="w{$d5zn^.i*,=HPhhnhz">
<field name="TEXT">-</field>
</block>
</value>
<value name="ADD2">
<block type="get_value_var" id="jlp2U?dgV?;$*C*:oIAN">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="=t7W$G`{Ted|g{^//H:N">
<field name="TEXT"></field>
</shadow>
<block type="procedures_callcustomreturn" id="~G;rOPc:$(#.R7pX4R]C">
<mutation name="Volume">
<arg name="myID"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="c8dP!+37I60ar)HJ,7W~">
<field name="VAR" id="qMuUH@n;-29I9Zy:c5R[">i</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="lists_setIndex" id="GnsPh(wPQ:|fHk[^`GDB">
<mutation at="false"></mutation>
<field name="MODE">INSERT</field>
<field name="WHERE">FIRST</field>
<value name="LIST">
<block type="variables_get" id="YG--O]pa?xj?ghx6D]J~">
<field name="VAR" id="$TGe7c|7mWim[0^Ny-*8">playlisten</field>
</block>
</value>
<value name="TO">
<block type="variables_get" id="o$+U#tYe,Jgy7?E/2RD/">
<field name="VAR" id="ZNIImHZ1MQl]hTTqQ}lA">details</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="update" id="mBt,,:8+-i+LDbBY_|M[">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Spotify.Abfragen.PlaylistenString</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="convert_tostring" id="0A!bLCVE=_ha#_0.gL]W">
<value name="VALUE">
<block type="variables_get" id="@EHd.08D$*1*n!E+~tWq">
<field name="VAR" id="$TGe7c|7mWim[0^Ny-*8">playlisten</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="on_ext" id="c9?9Yrk,d9L[h~nN7`hb" collapsed="true">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="kDimQ14Dx+/o{VekX+L*">
<field name="oid">0_userdata.0.Spotify.Abfragen.PlaylistenString</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="variables_set" id="JQ):y1@NaZ?XpAlHIA,d">
<field name="VAR" id="N,1;Xiv_dRREPF,8/-wJ">playlistenvalue</field>
<value name="VALUE">
<block type="lists_create_with" id="WyOtpnpIVB`g=OsA}YXN">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="variables_set" id="hmgj;!53T_`9:3mm3iWL">
<field name="VAR" id="A+R4;J!yy4e`~.6+ePot">playliste</field>
<value name="VALUE">
<block type="lists_split" id="MglvOaZoo`udzPbSgs-g">
<mutation mode="SPLIT"></mutation>
<field name="MODE">SPLIT</field>
<value name="INPUT">
<block type="on_source" id="hHo7ewq_DxyE,g|`@,+A">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="DELIM">
<shadow type="text" id="ec}^V3zQKdCOH5g#M`u9">
<field name="TEXT">,</field>
</shadow>
</value>
</block>
</value>
<next>
<block type="controls_forEach" id="ajZPSo8S{qF=ttM[GXd^">
<field name="VAR" id="qMuUH@n;-29I9Zy:c5R[">i</field>
<value name="LIST">
<block type="variables_get" id="]IVi}17qyYUKJ.`tI$QB">
<field name="VAR" id="A+R4;J!yy4e`~.6+ePot">playliste</field>
</block>
</value>
<statement name="DO">
<block type="variables_set" id="e1LQ~RSotlmf$7aKe|kK">
<field name="VAR" id="GG0W8(KE08)VPNlHI[Pf">playlistname</field>
<value name="VALUE">
<block type="text_join" id="Zh+$rKf0e)bAv4`ZO_Ll">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="!5E!q8~IZl=lVe:D1e{A">
<field name="TEXT">spotify-premium.0.playlists.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="iJRgR1_a,1RwRD)V)eQ5">
<field name="VAR" id="qMuUH@n;-29I9Zy:c5R[">i</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="Pc/gxiQ/)FablTHX@uI}">
<field name="TEXT">.name</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="1n=Ui6Zxw{1L{BnIf:=]">
<field name="VAR" id="GG0W8(KE08)VPNlHI[Pf">playlistname</field>
<value name="VALUE">
<block type="text_changeCase" id="Vus*D9$BEok35qz$fC:j">
<field name="CASE">UPPERCASE</field>
<value name="TEXT">
<shadow type="text" id="RRDka23`)BruPQ:r.*o4">
<field name="TEXT">abc</field>
</shadow>
<block type="get_value_var" id="(]Wp^Y65HmVHHaYEHsW}">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="x|UlQ#_RiFjEu+,I]b9y">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="cIgV)^8{CWQc0M$bpa1=">
<field name="VAR" id="GG0W8(KE08)VPNlHI[Pf">playlistname</field>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="ctRCBlP?@p!a#y,H7@QO">
<field name="VAR" id="/EUEs^+niuBI+e=^qt[;">objekt</field>
<value name="VALUE">
<block type="text_join" id="4_Ve~kk8N!pfB:}*Fq,m">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="w6~`xjx1m!+}@#ll)$Dy">
<field name="TEXT">{"text":"</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="BhfbH7mGwwQ{AkhnB!Il">
<field name="VAR" id="GG0W8(KE08)VPNlHI[Pf">playlistname</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="BNT~cKhc$)L-sab^%C#W">
<field name="TEXT">","value":"</field>
</block>
</value>
<value name="ADD3">
<block type="variables_get" id="tSH=LGTCgKrty7^ODOR+">
<field name="VAR" id="qMuUH@n;-29I9Zy:c5R[">i</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="E+,QRlEw5Z_l)LdngzI7">
<field name="TEXT">"}</field>
</block>
</value>
</block>
</value>
<next>
<block type="lists_setIndex" id="-t?`LwYqo*=Y=2nXV8#,">
<mutation at="false"></mutation>
<field name="MODE">INSERT</field>
<field name="WHERE">LAST</field>
<value name="LIST">
<block type="variables_get" id=".V^Ym4@]Fhdr?l9+Nq#9">
<field name="VAR" id="N,1;Xiv_dRREPF,8/-wJ">playlistenvalue</field>
</block>
</value>
<value name="TO">
<block type="variables_get" id="W[x--|G]LH#5r0`8p?O]">
<field name="VAR" id="/EUEs^+niuBI+e=^qt[;">objekt</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="update" id="~ZX+.IRW/f7rLWP]fg[}">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Spotify.Abfragen.PlaylistenJson</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="H,aFJ^iP^rS)IF*A8wCH">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="YOZXyHT};meRwyIV%vK|">
<field name="TEXT">[</field>
</block>
</value>
<value name="ADD1">
<block type="convert_tostring" id="KUGB8iC2OgPko%Zegw`N">
<value name="VALUE">
<block type="variables_get" id="Oh$A$:X!.P`rQfq~=]Q.">
<field name="VAR" id="N,1;Xiv_dRREPF,8/-wJ">playlistenvalue</field>
</block>
</value>
</block>
</value>
<value name="ADD2">
<block type="text" id="+c?.o6iDZ|Kz6.VapK:s">
<field name="TEXT">]</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="on_ext" id="Y9nt~=KFwh++B,GZEC/[">
<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="_1|!z,QoR;MXd/.r[Dtz">
<field name="oid">0_userdata.0.Spotify.Abfragen.PlaylistenJson</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="variables_set" id="/$wu0snvyjSUP+.-`ev}">
<field name="VAR" id="}bdAPzw$S|-/d[[-/l,Z">sort</field>
<value name="VALUE">
<block type="convert_json2object" id="m}Hn/h@KIi9NO.d4U+r.">
<value name="VALUE">
<block type="on_source" id="#I4@5[v]pi;H=eCg1IW`">
<field name="ATTR">state.val</field>
</block>
</value>
</block>
</value>
<next>
<block type="update" id="lYi:d~xT7!X0xFJl*,#v">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Spotify.Abfragen.PlaylistenJson</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="convert_object2json" id="n6zNe:p_z=T;PNhAf9JV">
<field name="PRETTIFY">FALSE</field>
<value name="VALUE">
<block type="convert_jsonata" id="CcN./1!@a^}k7uiJN4rA">
<value name="EXPRESSION">
<shadow type="text" id="ck_hXCIkQZU=+#$g^`!G">
<field name="TEXT">*</field>
</shadow>
<block type="text" id="GG{)CJ)JxbrU)*?WUwY%">
<field name="TEXT">$^(<text)</field>
</block>
</value>
<value name="TARGET">
<block type="variables_get" id="TU`:gvnqE)R/$XKot06w">
<field name="VAR" id="}bdAPzw$S|-/d[[-/l,Z">sort</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</xml>