2019-01-30, 15:36
(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 would doubt this was ever tested, so the status could be sent by accident or without any knowledge of the developer. They could be relics of the original internal player.
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?