How get the id of a python thread
#1
hey,...

i have some trouble with this error:

Code:
XFILE::CPluginDirectory::AddItem - called with an invalid handle.

i use

Code:
ok = xbmcplugin.addDirectoryItem(handle=int(sys.argv[1])....

BUT,

i need the value for the handle,...

i use

Code:
"XBMC.RunScript"
with arguments,...

so i can use the "handle with " int(sys.argv[1])"

i believe there is

Code:
"XBMC.Container.Update"

but it not a 'simple' update,....

how get the id of the thread created,....

like it s appear in the log

thx for your comprehension,...



Reply

Logout Mark Read Team Forum Stats Members Help
How get the id of a python thread0