2020-09-01, 02:44
I have Kodi v18.8 running on multiple devices with a shared MariaDB. One of the devices is a Shield TV that has Kodi always running and is simply put to sleep when not used.
Everything works fine, but there's a minor annoyance: When I wake it up from sleep, the skin isn't up-to-date. Widgets on the home screen doesn't reflect what's recently been played on other devices.
Since I use Home Assistant to automate my living room lights and window shades based on Kodi's state, playing/paused/idle/off, my initial thought was to let Home Assistant trigger Kodi's XBMC.ReloadSkin() function via JSON-RPC when the state changes from 'off'. I was disappointed to find that the function is not accessible via JSON-RPC.
Any suggestions for a work-around? Maybe I'm overlooking something obvious. Thanks.
Everything works fine, but there's a minor annoyance: When I wake it up from sleep, the skin isn't up-to-date. Widgets on the home screen doesn't reflect what's recently been played on other devices.
Since I use Home Assistant to automate my living room lights and window shades based on Kodi's state, playing/paused/idle/off, my initial thought was to let Home Assistant trigger Kodi's XBMC.ReloadSkin() function via JSON-RPC when the state changes from 'off'. I was disappointed to find that the function is not accessible via JSON-RPC.
Any suggestions for a work-around? Maybe I'm overlooking something obvious. Thanks.