From 381ecb95a91b8ba65fba7358578f8903be4b9b2e Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 16 Jan 2023 16:24:28 -0500 Subject: [PATCH] Fix variable name for upnext --- resources/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index da6ed2c..59c0bc6 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -87,7 +87,7 @@ def send_event_notification(method, data=None, hexlify=False): if hexlify: # Used exclusively for the upnext plugin - data = ensure_text(binascii.hexlify(ensure_binary(data_str))) + data_str = ensure_text(binascii.hexlify(ensure_binary(data_str))) sender = 'plugin.video.jellycon' data = '"[{}]"'.format(data_str.replace('"', '\\"'))