From b6bb0520e7a794a1984faedfe224c6e3af6beb8d 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: