TOOLSP
"
WELCOME !

Please ! USE [CODE] tags for your LINKS and CODE.

Favor usar balisas [CODE] para sus vínculos y código.

Merci d'utiliser les balises [CODE] pour vos liens et code.


[code]http://Thank.you[/code]
"
*** Doc. Kodi & PYthon ***
.
.
Python & Modules PY
.
.
.
.
(Video) Cache Kodi
.
.
.
Addons Kodi
.
.
.
Addons Kodi
.
.
*** GITHUB ***
.
.
URLresolver (J.S.) [GIT] +
.
.
.
URLresolver (elD.) [GIT] -
.
.
URLresolver (tvA.) [GIT] -
.
.
.
.
Cloudflare (external) [GIT]
.
.
.
*** Associated ***
.
Pastebin Your list online
.
mediafire Upload Files
.
imgur Upload Pics
lyngsat TV logos collection
transparent .png
.
http://hola.org free? VPN
Hola.apk free? VPN App.
.
hidester- free Proxy
.
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.
.wordreference Traduction
.
mail.com (fast sign-in)
.
.
FRIENDS / PARTNERS

£$π community

créer un forum


open settings from list

Go down

open settings from list

Post by adrianhn on Fri 19 Oct - 18:35

hi . one question .  there a way  to open a window adddon setting . from xml

hola.  una pregunta ,  hay alguna manera de abrir la  ventana de configuracion del addon desde el archivo xml

he intentado esto pero no funciona
i try this but not works
thks for   some  idea  to do this.

<item>
<title>Settings</title>
<link>$doregex[settings]</link>
<regex>
<name>settings</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
 import xbmc
 xbmc.executebuiltin("Addon.openSettings")
]]></expres>
<page></page>
</regex>
</item>

adrianhn

Messages : 30
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: open settings from list

Post by Admin on Mon 22 Oct - 23:04

https://kodi.wiki/view/Python_libraries (extracto)

(...)

1 Built-in modules

In addition to the standard libraries, Kodi Python uses a handful of custom modules to expose Kodi functionality to Python.

Up to date documentation about these modules can be found at https://codedocs.xyz/xbmc/xbmc/group__python.html

Module Description
xbmc Offers classes and functions that provide information about the media currently playing and that allow manipulation of the media player (such as starting a new song). You can also find system information using the functions available in this library.

xbmcgui Offers classes and functions that manipulate the Graphical User Interface through windows, dialogs, and various control widgets.

xbmcplugin Offers classes and functions that allow a developer to present information through XBMC's standard menu structure. While plugins don't have the same flexibility as scripts, they boast significantly quicker development time and a more consistent user experience.

xbmcaddon Offers classes and functions that manipulate the add-on settings, information and localization.
xbmcvfs Offers classes and functions offers acces to the Virtual File Server (VFS) which you can use to manipulate files and folders.

>>>

yo entiendo que no es dentro de xbmc.
sino de xbmcaddon.


(voy haciendo pruebas..)

Admin

Messages : 59
Date d'inscription : 2017-03-28

View user profile http://toolsp.forumactif.com

Back to top Go down

Re: open settings from list

Post by Admin on Mon 22 Oct - 23:06


Admin

Messages : 59
Date d'inscription : 2017-03-28

View user profile http://toolsp.forumactif.com

Back to top Go down

Re: open settings from list

Post by adrianhn on Tue 23 Oct - 16:19

gracias . he estado leyendo y haciendo pruebas pero no doy .. seguire intentando .

adrianhn

Messages : 30
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: open settings from list

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum