Issue handling two pvrs with pvrmanager
#1
Hi,
I have two pvr: iptvsimple and pvr.zattooo.
Sometimes the pvr.manager loads only pvrzattoo and not the iptvsimple.
This one is a python script that reboot the iptvsimple. I'd like to add a part in the code that the pvrmanager check if there is really both lists in kodi and if not to reboot the iptvsimple. Do you have some ideas if is possible??
Thank you

python:
import xbmc, time

#return to homescreen
xbmc.executebuiltin('ActivateWindow(home)')

#sleep long enough for the home screen to come up
time.sleep(2)

#stop PVR addon
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"Addons.SetAddonEnabled", "params":{ "addonid": "pvr.iptvsimple", "enabled": false }, "id":1}')
#start PVR addon
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"Addons.SetAddonEnabled", "params":{ "addonid": "pvr.iptvsimple", "enabled": true }, "id":1}')
Reply
#2
Why do you need to restart iptvsimple?
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply

Logout Mark Read Team Forum Stats Members Help
Issue handling two pvrs with pvrmanager0