read or send movietitle when KODI start play movie
Joined: Mar 2017
2017-03-28 16:38 Post: #1
Hey, Guys, i plan to build a sence via Domoticz when KODI start play movie, difference movie has difference sence, can somebody tell me how to read movietitle via Domoticz or KODI can send movietitle to Domoticz,thanks.
Joined: May 2010
Location: Germany, Milky Way Galaxy
2017-04-03 19:19 Post: #2
If there is no add on available i guess you need to write your own add on. If Kodi should 'send' the movie title you need to monitor Kodi at port 9090. This is the port for the Kodi event server.
The event server populates all events like movie play. If you receive this event you have to poll the title with JSON-RPC.
Another possibility is frequently poll Kodi with JSON RPC.