2023-03-17, 05:15
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))
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))