2018-03-02, 02:06
From the wiki (https://kodi.wiki/index.php?title=Python...us_scripts) I understand that everything I can do with a plugin addon
can be done with a script addon also but I fail already with the first basic call addDirectoryItem :-(
The first parameter to this call is a handle. When using a plugin, it is provided via sys.argv list, but how can it be retrieved when using a script?
__xbmcinvokerid__ seems not to be the correct one. The documentation at codedocs.xyz does also not reveal a method how to obtain that handle.
Any idea?
Thank you
Claudia
can be done with a script addon also but I fail already with the first basic call addDirectoryItem :-(
The first parameter to this call is a handle. When using a plugin, it is provided via sys.argv list, but how can it be retrieved when using a script?
__xbmcinvokerid__ seems not to be the correct one. The documentation at codedocs.xyz does also not reveal a method how to obtain that handle.
Any idea?
Thank you
Claudia