Subscribing to an event/notification - 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: Subscribing to an event/notification (/showthread.php?tid=218813) |
Subscribing to an event/notification - askvictor - 2015-02-18 I'm trying to write a python script that does something when a 'play' command is issued. I've gleaned that I need to use the notifications side of the API, but can't find any example code anywhere to do this (either in protocol or in python). Any pointers? Cheers, Victor |