2019-02-04, 23:27
Options
1)
Works but will reset channel order, remove all groups etc
2)
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.
1)
python: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)
python: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.