Fix Kodi add-on NextUp not working
This commit is contained in:
parent
f326e49ba7
commit
6719b97d87
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ def _notify_upnext(item):
|
||||||
info['play_info'] = {'handle': next_api.fullpath(force_addon=True)[0]}
|
info['play_info'] = {'handle': next_api.fullpath(force_addon=True)[0]}
|
||||||
sender = v.ADDON_ID
|
sender = v.ADDON_ID
|
||||||
method = 'upnext_data'
|
method = 'upnext_data'
|
||||||
data = binascii.hexlify(json.dumps(info))
|
data = binascii.hexlify(json.dumps(info).encode('utf-8'))
|
||||||
data = '\\"[\\"{0}\\"]\\"'.format(data)
|
data = '\\"[\\"{0}\\"]\\"'.format(data)
|
||||||
xbmc.executebuiltin(f'NotifyAll({sender}, {method}, {data})')
|
xbmc.executebuiltin(f'NotifyAll({sender}, {method}, {data})')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue