From e660b8e69ad7de3138d2d35708943fc25ba2b239 Mon Sep 17 00:00:00 2001 From: Blacktwin Date: Thu, 17 May 2018 09:56:49 -0400 Subject: [PATCH] get_history's grandparent_rating_key to int() --- notify/notify_fav_tv_all_movie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify/notify_fav_tv_all_movie.py b/notify/notify_fav_tv_all_movie.py index 296b96b..f5854e0 100644 --- a/notify/notify_fav_tv_all_movie.py +++ b/notify/notify_fav_tv_all_movie.py @@ -127,7 +127,7 @@ def get_history(showkey): # Get the user history from Tautulli. Length matters! payload = {'apikey': TAUTULLI_APIKEY, 'cmd': 'get_history', - 'grandparent_rating_key': showkey, + 'grandparent_rating_key': int(showkey), 'length': 10000} try: