Kodi binding inputaction random not working

Hello all,

I am trying to make a button on my sitemap which puts my playlist in random order in Kodi. Unfortunately, I am not succesfull, I can´t seem to find the right command or syntax to do so.

Am I correct that I need to use the inputaction channel type ID? If yes, what command should I send to turn on ´random´?

Kind regards,

Looking at the doc’s, yes you will need that channel ID.

I do not use the binding but maybe something like this:

String Random             "Mediatype [%s]"            { channel="kodi:kodi:myKodi:randompreset" }