read or send movietitle when KODI start play movie

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
anthonysun Offline
Junior Member
Posts: 2
Joined: Mar 2017
Reputation: 0
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.
find quote
_Andy_ Offline
Posts: 644
Joined: May 2010
Reputation: 27
Location: Germany, Milky Way Galaxy
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.
find quote