From b5d9225e570e9ef0a076b41de9de8e82fcb0f6b2 Mon Sep 17 00:00:00 2001 From: GoD-Tony Date: Sun, 1 Mar 2026 13:59:58 +0100 Subject: [PATCH] Fix b64encode param byte encoding --- resources/lib/cache_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/cache_images.py b/resources/lib/cache_images.py index cb32f2aa..f091b2d6 100644 --- a/resources/lib/cache_images.py +++ b/resources/lib/cache_images.py @@ -320,7 +320,7 @@ def cache_artwork(self, progress): headers = {} if xbmc_password: auth = "%s:%s" % (xbmc_username, xbmc_password) - headers = {'Authorization': 'Basic %s' % base64.b64encode(auth)} + headers = {'Authorization': 'Basic %s' % base64.b64encode(auth.encode("utf-8"))} total = len(missing_texture_urls)