2022-10-03, 15:39
Hi
I want to pass multiple arguments to my plugin
Basically it works fine, but it dont work for multiple arguments of same name. It's just passing last argument.
Is this expected?
I am trying to do something like this:
But when I try to list this directory, I receive only last argument
I want to pass multiple arguments to my plugin
Basically it works fine, but it dont work for multiple arguments of same name. It's just passing last argument.
Is this expected?
I am trying to do something like this:
python:
args = urllib.parse.urlencode({'Arg': [0,1,2,3]}, doseq=True)
xbmcplugin.addDirectoryItem(int(sys.argv[1]), f'plugin://plugin.video.test/{curpath}/test?{args}',
xbmcgui.ListItem(f'{curpath}/test', f'plugin://plugin.video.test/{curpath}/test?{args}'), True)
But when I try to list this directory, I receive only last argument
Code:
StartScript - calling plugin Test('plugin://plugin.video.test/test/test/test/test/test','63','?Arg=3','resume:false')