v20 JSON-RPC Player.SetSubtitle params enable:false not working
#1
Attempted several times and I cannot get it to work.  Looking for confirmation that it is a bug.

this works:
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Player.SetSubtitle","params":{"playerid":%d,"subtitle":%d,"enable":true},"id":2}' %(_player_id, _preferred_subtitle_index))

this does not:
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Player.SetSubtitle","params":{"playerid":%d,"subtitle":%d,"enable":false},"id":2}' %(_player_id, _preferred_subtitle_index))
Reply
#2
take a look at this - https://forum.kodi.tv/showthread.php?tid=365836
Reply
#3
Thanks!  I had read that post earlier and have implemented a similar workaround.  I am looking for confirmation that there is indeed a bug such that I can open one on github - if permitted.
Reply



Logout Mark Read Team Forum Stats Members Help
JSON-RPC Player.SetSubtitle params enable:false not working0
This forum uses Lukasz Tkacz MyBB addons.