Pass 'None' instead of empty string in url args
This commit is contained in:
parent
5687149225
commit
fc6718f698
1 changed files with 1 additions and 1 deletions
|
@ -978,7 +978,7 @@ def __build_item(xml_element):
|
||||||
params = {
|
params = {
|
||||||
'filename': api.getKey(),
|
'filename': api.getKey(),
|
||||||
'id': api.getRatingKey(),
|
'id': api.getRatingKey(),
|
||||||
'dbid': listitem.getProperty('dbid') or '',
|
'dbid': listitem.getProperty('dbid'),
|
||||||
'mode': "play"
|
'mode': "play"
|
||||||
}
|
}
|
||||||
url = "plugin://%s?%s" % (v.ADDON_ID, urlencode(params))
|
url = "plugin://%s?%s" % (v.ADDON_ID, urlencode(params))
|
||||||
|
|
Loading…
Reference in a new issue