Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
How to open dialogaddonsetting for Simple PVR addon
#1
I want to open  dialogaddonsetting page for Simple PVR addon through onclick icon in main menu. I tried RunAddon , Runscrip but didn't work, is there any way to do it?
Reply
#2
I got this window ID in Kodi Wiki 10140 related to dialogaddonsettings.xml but when open shows me empty dialog box! how can I attach it with PVR simple client setting?
Reply
#3
what are you actually wanting the shortcut to show ?
Reply
#4
(2019-02-24, 15:37)ontap Wrote: what are you actually wanting the shortcut to show ?
 I want to open the setting of PVR simple client addon directly without going to steps setting/aaddons/pvr addon/...etc
Reply
#5
hmmm , not something that I have ever seen, why would anyone want that window on a home screen , its something that you would rarely if ever open ?
pointless item to have on home screen.
Reply
#6
OK just tried it and it works.
Am using artic zephyr so it will differ depending on skin , in this skin in "skin settings-customise mainmenu" I add a menu item and in the list "settings" there is a "TV" option the actual action is "ActivateWindow(PVRSettings)"
not sure about caps in the line , if your skin doesn't have "TV" option , you can do it using "custom" option, tried it and it works.
Reply
#7
(2019-02-24, 15:57)ontap Wrote: OK just tried it and it works.
Am using artic zephyr so it will differ depending on skin , in this skin in "skin settings-customise mainmenu" I add a menu item and in the list "settings" there is a "TV" option the actual action is "ActivateWindow(PVRSettings)"
not sure about caps in the line , if your skin doesn't have "TV" option , you can do it using "custom" option, tried it and it works.
 PVRsettings is in settings but I want the settings of PVR simple client addon. I want from my father to be easy for him to add m3u file when I send to him because most of time not with him  Blush
Reply
#8
Thats easy , go settings, addon,my add-on ,pvr-clients, simple-pvr and add it to favs, then go into skin settings, configure main menu and and add it as a menu item form favourites option, btw what skin you using ?
Reply
#9
(2019-02-24, 16:39)ontap Wrote: Thats easy , go settings, addon,my add-on ,pvr-clients, simple-pvr and add it to favs, then go into skin settings, configure main menu and and add it as a menu item form favourites option, btw what skin you using ?
 I am using estuary and thinking to switch to transperancy!
Reply
#10
(2019-02-24, 16:39)ontap Wrote: Thats easy , go settings, addon,my add-on ,pvr-clients, simple-pvr and add it to favs, then go into skin settings, configure main menu and and add it as a menu item form favourites option, btw what skin you using ?
 but if he cleared the favorite will gone Tongue
Reply
#11
No, once you have set it up as a main menu item , you can remove the item from favourites and the shortcut will remain working.
If your using estuary you will have to add it in "home.xml"
Reply
#12
(2019-02-24, 17:37)ontap Wrote: No, once you have set it up as a main menu item , you can remove the item from favourites and the shortcut will remain working.
If your using estuary you will have to add it in "home.xml"
 I added pvr simple client in favorite but when I click on it nothing happened! 
log error :19:08:54.190 T:140241725032576   ERROR: RunAddon: unknown add-on id 'pvr.iptvsimple', or unexpected add-on type (not a script or plugin).
Reply
#13
(2019-02-24, 16:39)ontap Wrote: Thats easy , go settings, addon,my add-on ,pvr-clients, simple-pvr and add it to favs, then go into skin settings, configure main menu and and add it as a menu item form favourites option, btw what skin you using ?
Have you tried it?  Does nothing here.

The only way I know to do this is via a script, so eg:
Quote:import xbmcaddon
xbmcaddon.Addon('pvr.iptvsimple').openSettings()
Then use RunScript in a shortcut / favourite / key to point at your script.
There may well be an easier way but I don't know it.
Reply
#14
(2019-02-24, 18:18)trogggy Wrote:
(2019-02-24, 16:39)ontap Wrote: Thats easy , go settings, addon,my add-on ,pvr-clients, simple-pvr and add it to favs, then go into skin settings, configure main menu and and add it as a menu item form favourites option, btw what skin you using ?
Have you tried it?  Does nothing here.

The only way I know to do this is via a script, so eg:
Quote:import xbmcaddon
xbmcaddon.Addon('pvr.iptvsimple').openSettings()
Then use RunScript in a shortcut / favourite / key to point at your script.
There may well be an easier way but I don't know it. 
Second way it works fine with me ....many thanks. Now I make it easy for him  Big Grin
Reply
#15
My bad , your right I added it and didn't  test it.
Reply

Logout Mark Read Team Forum Stats Members Help
How to open dialogaddonsetting for Simple PVR addon0