Best way to reload pvr.iptvsimple addon?
#1
Options

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

Works but will reset channel order, remove all groups etc

2)
addon = xbmcaddon.Addon('pvr.iptvsimple')
addon.setSetting('anything', 'anything')

This triggers the add-on to reload without destroying channel order etc.
However, you do get a 'PVR must reset' OK dialog.

I'm writing a new service add-on that will allow settings multiple playlists / epgs.
It will then periodically merge them all, output the new file and restart iptv simple client.
Reply


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


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