Pass 'None' instead of empty string in url args

This commit is contained in:
tomkat83 2017-03-13 20:20:05 +01:00
parent 5687149225
commit fc6718f698

View file

@ -978,7 +978,7 @@ def __build_item(xml_element):
params = {
'filename': api.getKey(),
'id': api.getRatingKey(),
'dbid': listitem.getProperty('dbid') or '',
'dbid': listitem.getProperty('dbid'),
'mode': "play"
}
url = "plugin://%s?%s" % (v.ADDON_ID, urlencode(params))