In my Plex plugin I have main procedure MainMenu() that initializes an OrderedDict object, then I want to pass it to another procedure that would do stuff with that dictionary (I would love to use regular list, but it does not work :( ) so before defining a new procedure I need to set a @route for it to work, like:
@route('testplugin/customproc', arg_dict = X)
def customproc(arg_dict):
for i in arg_dict:
#do stuff
what should I write instead of X? If I write "dict", I get unordered dictionary, if I write "ordereddict" I get error. Maybe it is not possible to use OrderedDict as an argument?