Kodi Community Forum
Player.OnPropertyChanged notification not sent - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174)
+---- Thread: Player.OnPropertyChanged notification not sent (/showthread.php?tid=363677)



Player.OnPropertyChanged notification not sent - Saltitao - 2021-07-23

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!