2019-02-24, 19:58
2019-02-24, 20:00
If you don't mind me asking , would you post pic of the line "RunScript" , I only know how to take the line between the brackets from favourites.xml and add it in "home.xml" ,I don't think that is "adding a script " ?
or maybe point me at a post that shows how to do it the way you have please ?
or maybe point me at a post that shows how to do it the way you have please ?
2019-02-24, 20:49
No problem we are here to share the solution
Here are the 3 steps I made it:
1- create python file inside pvr.iptvsmple folder for example (settings.py)
2- paste this code inside settings.py ( import xbmcaddon
xbmcaddon.Addon('pvr.iptvsimple').openSettings() )
3- go to home.xml and create a new item and direct it to execute the python script like this:
Here are the 3 steps I made it:
1- create python file inside pvr.iptvsmple folder for example (settings.py)
2- paste this code inside settings.py ( import xbmcaddon
xbmcaddon.Addon('pvr.iptvsimple').openSettings() )
3- go to home.xml and create a new item and direct it to execute the python script like this:
Quote:<item id="31">
<description>open PVR setting</description>
<label>PVR setting</label>
<onclick>XBMC.Runscript(special://home/addons/pvr.iptvsimple/settings.py)</onclick>
</item>