doc:appunti:software:kodi_addon
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:software:kodi_addon [2023/05/26 14:47] – [How to start an external program from Kodi] niccolo | doc:appunti:software:kodi_addon [2023/05/26 14:58] – [How to start an external program from Kodi] niccolo | ||
---|---|---|---|
Line 314: | Line 314: | ||
<code python> | <code python> | ||
- | # This works only if it is a Python script. | + | # This works only for a Python script. |
# Notice " | # Notice " | ||
xbmc.executescript(' | xbmc.executescript(' | ||
Line 323: | Line 323: | ||
<code python> | <code python> | ||
# Add a context menu item to the add-on xbmcgui.ListItem object. | # Add a context menu item to the add-on xbmcgui.ListItem object. | ||
+ | # This works only for a Python script. | ||
li.addContextMenuItems([(' | li.addContextMenuItems([(' | ||
</ | </ | ||
Line 329: | Line 330: | ||
<code python> | <code python> | ||
- | xbmc.executebuiltin(' | + | xbmc.executebuiltin(' |
</ | </ | ||
+ | Another non-tested code to execute a Kodi plugin: | ||
+ | |||
+ | <code python> | ||
+ | xbmc.executebuiltin(' | ||
+ | </ | ||
* **[[https:// | * **[[https:// | ||
Line 339: | Line 345: | ||
* **[[https:// | * **[[https:// | ||
* **[[https:// | * **[[https:// | ||
+ | * **[[https:// | ||
===== Web References ===== | ===== Web References ===== |
doc/appunti/software/kodi_addon.txt · Last modified: 2023/05/26 15:05 by niccolo