2021-07-23, 17:58
Hey guys,
I'm currently working on changing a Player Item's current subtitle from its list of available ones. I do this with the following request:
{ jsonrpc: 2.0, id: 1, method: Player.SetSubtitle, params: { playerid: playerId, subtitle: subtitleIndex, enable: true } }
This request works as intended since the current subtitle is visibly changed. The issue is that I have a websocket listening to kodi's notifications and the Player.OnPropertyChanged one doesn't come through.
Can you guys give me a push in the right direction?
Thanks for the help!
I'm currently working on changing a Player Item's current subtitle from its list of available ones. I do this with the following request:
{ jsonrpc: 2.0, id: 1, method: Player.SetSubtitle, params: { playerid: playerId, subtitle: subtitleIndex, enable: true } }
This request works as intended since the current subtitle is visibly changed. The issue is that I have a websocket listening to kodi's notifications and the Player.OnPropertyChanged one doesn't come through.
Can you guys give me a push in the right direction?
Thanks for the help!