Merge pull request #1334 from croneter/fix-nextup
Fix Kodi add-on NextUp not working
This commit is contained in:
commit
47550e9367
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,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