Best way to reload pvr.iptvsimple addon?
#2
I've also found toggling any PVR add-on (enabled or disabled) with make it refresh.
So, I could have a dummy PVR add-on that isn't actually used and just toggle it enabled to force PVR to refresh.
Feels a bit "hacky" though.

I see there is a demo pvr add-on though.

So, for now I use the below code to force a reload.

xbmc.executebuiltin('InstallAddon(pvr.demo)', True)
xbmc.executeJSONRPC('{"jsonrpc":"2.0","id":1,"method":"Addons.SetAddonEnabled","params":{"addonid":"pvr.demo","enabled":true}}')
xbmc.executeJSONRPC('{"jsonrpc":"2.0","id":1,"method":"Addons.SetAddonEnabled","params":{"addonid":"pvr.demo","enabled":false}}')
Reply


Messages In This Thread
RE: Best way to reload pvr.iptvsimple addon? - by matthuisman - 2019-02-05, 04:55


Logout Mark Read Team Forum Stats Members Help
Best way to reload pvr.iptvsimple addon?0
This forum uses Lukasz Tkacz MyBB addons.