From 41206c2de74b35272a7b4dd281af5455d3efbd4a Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Sat, 3 Mar 2018 21:44:41 +0100 Subject: [PATCH 1/2] Fix notifications Trakt "inactive" status not displayed when it should be. Fix prevent waiting loops for deactivated accounts that can result in long loading times for the notification page on first time opened. --- gui/slick/interfaces/default/config_notifications.tmpl | 2 +- lib/libtrakt/trakt.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gui/slick/interfaces/default/config_notifications.tmpl b/gui/slick/interfaces/default/config_notifications.tmpl index cc2abf91..70d8ccba 100644 --- a/gui/slick/interfaces/default/config_notifications.tmpl +++ b/gui/slick/interfaces/default/config_notifications.tmpl @@ -1490,7 +1490,7 @@ #set $trakt_accounts = $sickbeard.TRAKT_ACCOUNTS #for $void, $account in $trakt_accounts.items() - + #end for diff --git a/lib/libtrakt/trakt.py b/lib/libtrakt/trakt.py index d09a9da0..d9c11ccf 100644 --- a/lib/libtrakt/trakt.py +++ b/lib/libtrakt/trakt.py @@ -210,7 +210,8 @@ class TraktAPI: return {} # wait before retry - count > 1 and time.sleep(sleep_retry) + if 'users/settings' != path: + count > 1 and time.sleep(sleep_retry) headers = headers or self.headers if None is not send_oauth and send_oauth in sickbeard.TRAKT_ACCOUNTS: From a71e186973dea4a818d8dfab6b36fd030c22399c Mon Sep 17 00:00:00 2001 From: JackDandy Date: Mon, 5 Mar 2018 15:34:16 +0000 Subject: [PATCH 2/2] Fix saving multiple account "Update collection" selection at config/notifications Trakt. Change config/notifications remove redundant values being sent when saving. --- CHANGES.md | 8 +++++++- gui/slick/interfaces/default/config_notifications.tmpl | 8 ++++---- sickbeard/trakt_helpers.py | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index a730c9d9..422b54b2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,10 @@ -### 0.14.5 (2018-02-23 22:15:00 UTC) +### 0.14.6 (2018-03-05 15:40:00 UTC) + +Fix config/notifications Trakt "inactive" status not displayed when it should be +Fix saving multiple account "Update collection" selection at config/notifications Trakt + + +### 0.14.5 (2018-02-23 22:15:00 UTC) Remove NZB.is usenet provider Remove HD4Free torrent provider diff --git a/gui/slick/interfaces/default/config_notifications.tmpl b/gui/slick/interfaces/default/config_notifications.tmpl index 70d8ccba..bfaec904 100644 --- a/gui/slick/interfaces/default/config_notifications.tmpl +++ b/gui/slick/interfaces/default/config_notifications.tmpl @@ -1486,7 +1486,7 @@