2022-02-08, 23:13
Just in case you are interested...if you would like to pass more variables to a JSON call, you have to do it that way:
The order will make the difference which one will be used for
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"VideoLibrary.Export", "params":{"options": {"actorthumbs": %s, "images": %s, "overwrite": %s}, "id":"1"}}' %(var1, var2, var3))
python:
act = true
img = false
over = true
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"VideoLibrary.Export", "params":{"options": {"actorthumbs": %s, "images": %s, "overwrite": %s}, "id":"1"}}' %(act, img, over))
The order will make the difference which one will be used for
%s