v17 StopPVRManager / StartPVRManager
#2
I use a couple of little scripts to enable / disable dvbviewer.
The default.py for disabling is simply:
Code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#import xbmc,xbmcgui,xbmcplugin
import xbmc

xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Addons.SetAddonEnabled","id":8,"params":{"addonid":"pvr.dvbviewer","enabled":false}}')
Change the addonid to mythtv, add an addon.xml, zip it up and install - make another with enabled:true and do likewise.
Then use
Code:
xbmc-send --action="RunScript(script.whatever)"
That - or something like it - should work. I switched from using start / stop pvrmanager when I moved to krypton.
I don't do the last part though - I enable via the gui - so the command may not be exactly right RunScript is a built-in function though, so it should work.
Reply


Messages In This Thread
RE: StopPVRManager / StartPVRManager - by trogggy - 2017-03-20, 19:10
Logout Mark Read Team Forum Stats Members Help
StopPVRManager / StartPVRManager0