2014-03-27, 23:49
My plugin starts with this
The problem is that shortcut doesn't send this parameters.
How can workaround this ?
I tried to print sys,argv
And this (a part the pid, a progressive id), is identical from video shortcut and from music shortcut
Code:
plugin_params = urlparse.parse_qs((sys.argv[2])[1:])
content_type = params["content_type"][0]
if content_type == "video" :
....
if content_type == "audio" :
....
The problem is that shortcut doesn't send this parameters.
How can workaround this ?
I tried to print sys,argv
Code:
22:53:53 T:5628 NOTICE: ['plugin://plugin.video.jworg/', '231', '']
And this (a part the pid, a progressive id), is identical from video shortcut and from music shortcut