Use api
This commit is contained in:
parent
66a24a39b6
commit
e595bd5e79
1 changed files with 1 additions and 1 deletions
|
@ -831,7 +831,7 @@ def __build_item(xml_element):
|
||||||
api.path_and_plex_id().startswith('http')):
|
api.path_and_plex_id().startswith('http')):
|
||||||
params = {
|
params = {
|
||||||
'mode': 'plex_node',
|
'mode': 'plex_node',
|
||||||
'key': xml_element.attrib.get('key'),
|
'key': âpi.path_and_plex_id(),
|
||||||
'offset': xml_element.attrib.get('viewOffset', '0'),
|
'offset': xml_element.attrib.get('viewOffset', '0'),
|
||||||
}
|
}
|
||||||
url = "plugin://%s?%s" % (v.ADDON_ID, urlencode(params))
|
url = "plugin://%s?%s" % (v.ADDON_ID, urlencode(params))
|
||||||
|
|
Loading…
Reference in a new issue