From 817335b42e81150d54dfde107ab855799e44f826 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Fri, 30 Mar 2018 13:44:36 -0700 Subject: [PATCH] Separate values in img hash --- plexpy/notification_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexpy/notification_handler.py b/plexpy/notification_handler.py index 05408018..f7fdefca 100644 --- a/plexpy/notification_handler.py +++ b/plexpy/notification_handler.py @@ -1129,8 +1129,8 @@ def set_hash_image_info(img=None, rating_key=None, width=600, height=1000, img = '/'.join(img_split[:5]) rating_key = rating_key or img_split[3] - img_string = '{}{}{}{}{}{}{}{}'.format(plexpy.CONFIG.PMS_UUID, img, rating_key, width, height, - opacity, background, blur, fallback) + img_string = '{}.{}.{}.{}.{}.{}.{}.{}'.format( + plexpy.CONFIG.PMS_UUID, img, rating_key, width, height, opacity, background, blur, fallback) img_hash = hashlib.sha256(img_string).hexdigest() keys = {'img_hash': img_hash}