UniversalDevicesInc / Polyglot

Polyglot Open Source
MIT License
24 stars 2 forks source link

Kodi node server needs "offline" status #61

Open mjwesterhof opened 8 years ago

mjwesterhof commented 8 years ago

When a kodi server dies, is shut down, or goes offline for any reason, the kodi node server fills up the log file with error messages from failed connect attempts. The node on the ISY is not updated to reflect this status.

Instead, the failed connection attempts should be handled as an expected result, and should report an "offline" status to the ISY.

Einstein42 commented 8 years ago

Are you taking over the Kodi stuff? I have never even looked at it to be honest.

mjwesterhof commented 8 years ago

I didn't really want to take over Kodi, but we had to update and test it for one of the early breaking node server changes, and nobody else seemed interested... I'll gladly hand this over to someone who uses Kodi/XBMC and knows it better than I. Until then, since I have a kodi server set up, it's not too difficult to do the minimal, obvious changes and testing of same -- the challenge comes in determining how Kodi should interact with the ISY, i.e. what people WANT such a node server to do for them (it seems a little basic right now).