2018-05-29, 23:46
Hi guys,
I am trying to implement a simple "remote control" for Kodi in python. I am able to use all the callable methods defined in the v8 API reference using kodipydent, kodi-json or kodijsonrpc modules, and it works pretty well.
However I can't figure out how I can subscribe to notifications, like Player.OnPlay or others defined in the API. There aren't many examples on how to archieve this, and none in python.
Maybe this is not possibe with the modules I use, or maybe I misunderstood something... Do you have any pointers?
I am trying to implement a simple "remote control" for Kodi in python. I am able to use all the callable methods defined in the v8 API reference using kodipydent, kodi-json or kodijsonrpc modules, and it works pretty well.
However I can't figure out how I can subscribe to notifications, like Player.OnPlay or others defined in the API. There aren't many examples on how to archieve this, and none in python.
Maybe this is not possibe with the modules I use, or maybe I misunderstood something... Do you have any pointers?