2012-11-23, 00:02
The problem is not SVT it's something wrong with the commonFunctions that cant handle a url properly. It cuts of the "url" parameter from "plugin://plugin.video.svtplay/?url=%2Fvideo%2F585441%2F18-11-08-25%3Ftype%3Dembed&mode=video&page=1". after "type" resulting in url = "/video/585441/18-11-08-25/type" and not url = "/video/585441/18-11-08-25/type=embed" as it should be....
I did this fix at the bottom of the default.py
...
I did this fix at the bottom of the default.py
PHP Code:
def get_parameters(parameterString):
commands = {}
splitCommands = parameterString[parameterString.find('?')+1:].split('&')
for command in splitCommands:
if (len(command) > 0):
splitCommand = command.split('=')
name = splitCommand[0]
value = splitCommand[1]
commands[name] = value
return commands
#params = common.getParameters(sys.argv[2])
params = get_parameters(sys.argv[2])
...