From 6719b97d87ef595e7ee316d68d595e3b5923ad55 Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 9 Feb 2021 18:03:17 +0100 Subject: [PATCH] Fix Kodi add-on NextUp not working --- resources/lib/kodimonitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index e317c312..58bf592f 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -584,7 +584,7 @@ def _notify_upnext(item): info['play_info'] = {'handle': next_api.fullpath(force_addon=True)[0]} sender = v.ADDON_ID method = 'upnext_data' - data = binascii.hexlify(json.dumps(info)) + data = binascii.hexlify(json.dumps(info).encode('utf-8')) data = '\\"[\\"{0}\\"]\\"'.format(data) xbmc.executebuiltin(f'NotifyAll({sender}, {method}, {data})')