2019-02-06, 17:13
(2019-01-30, 03:35)nicr4wks Wrote: Is anyone using play/pause/stop events in Kodi dsplayer to trigger events? In my case via home assistant connecting to Kodi web sockets.
I've noticed that when using the dsplayer version only sometimes will it report the playback status, example if you pause a movie then play it it will report these events, try a second time and no pause/play event is passed on, try a 3rd time and it might work, it seems very random as to when it will or will not work.
I've noticed pressing stop or letting a video play until the end is always published fine.
For a test I installed the stock version of Kodi and all events are updated as expected. I thought since an external player is being used it might not work at all, but not sure why the randomness of it?
I'm using my own Python service to listen to the websockets and adjust lights based on the play/pause/stop events. No such problems, I haven't noticed any missed events.