I was wondering how to use the customOpenCommands in a rule.
{
"plugin": "kodi",
"customOpenCommands": [
{
"name": "nyan",
"command": "plugin://plugin.video.youtube/?action=play_video&videoid=QH2-TGUlwu4"
}
]
}
Anyone managed to do this?
edit:
actually managed to do this by looking at the plugin code. You can add this in your ‘then’ rule.
execute Open Command nyan on kodi-player
-> nyan is the name of the open command and kodi-player is the player.