2015-05-14, 19:39
Ok so the way Kodi works is that it runs my script for the first time.
I then list a bunch of things using xbmcplugin.addDirectoryItem and give each a different URL, so the next time Kodi runs my script I know exactly which item was selected.
So far so good, my question is this:
After the user selects one of the list items, and Kodi runs my script again, can I somehow access any of the objects/variables I created in the previous run?
(yes I am aware i can save them as files and load them up again but that's hardly efficient nor convenient)
I then list a bunch of things using xbmcplugin.addDirectoryItem and give each a different URL, so the next time Kodi runs my script I know exactly which item was selected.
So far so good, my question is this:
After the user selects one of the list items, and Kodi runs my script again, can I somehow access any of the objects/variables I created in the previous run?
(yes I am aware i can save them as files and load them up again but that's hardly efficient nor convenient)