doc:appunti:software:kodi_addon
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:software:kodi_addon [2023/05/26 16:47] – [How to start an external program from Kodi] niccolo | doc:appunti:software:kodi_addon [2023/05/26 17:05] (current) – [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(' |
| </ | </ | ||
| + | Other non-tested code to execute plugins or scripts: | ||
| + | |||
| + | <code python> | ||
| + | xbmc.executebuiltin(' | ||
| + | xbmc.executebuiltin(' | ||
| + | xbmc.executebuiltin(' | ||
| + | </ | ||
| * **[[https:// | * **[[https:// | ||
| Line 339: | Line 347: | ||
| * **[[https:// | * **[[https:// | ||
| * **[[https:// | * **[[https:// | ||
| + | * **[[https:// | ||
| + | * **[[https:// | ||
| ===== Web References ===== | ===== Web References ===== | ||
doc/appunti/software/kodi_addon.1685112437.txt.gz · Last modified: by niccolo
