From 0f01638887d7cc11014a32c68f00ab0cef708d3d Mon Sep 17 00:00:00 2001 From: Alexandre Beloin Date: Thu, 12 Feb 2015 15:46:27 -0500 Subject: [PATCH 1/4] Revert "Set UNKNOWN quality as Low Quality" This reverts commit d280b56e13ed1423afafbde3749b4650f43e9700. --- sickbeard/tv.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sickbeard/tv.py b/sickbeard/tv.py index 56e3525e..fcb9a7cd 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -1273,8 +1273,6 @@ class TVShow(object): if epStatus == FAILED: return Overview.WANTED - if curQuality == Quality.UNKNOWN: - return Overview.QUAL elif epStatus in (SNATCHED_BEST, SNATCHED, SNATCHED_PROPER ) and curQuality == maxBestQuality: return Overview.SNATCHED # if they don't want re-downloads then we call it good if they have anything From 7b767c27a90c3ce22c41134afb7c0b3e69d5f15c Mon Sep 17 00:00:00 2001 From: Alexandre Beloin Date: Thu, 12 Feb 2015 15:46:53 -0500 Subject: [PATCH 2/4] Revert "Fix low quality snatched episode don't appear at backlog" This reverts commit 9101f644f779d0c49825cce7b69997a34f5fab73. --- sickbeard/tv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/tv.py b/sickbeard/tv.py index fcb9a7cd..91c9d3bc 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -1273,7 +1273,7 @@ class TVShow(object): if epStatus == FAILED: return Overview.WANTED - elif epStatus in (SNATCHED_BEST, SNATCHED, SNATCHED_PROPER ) and curQuality == maxBestQuality: + elif epStatus in (SNATCHED, SNATCHED_PROPER, SNATCHED_BEST): return Overview.SNATCHED # if they don't want re-downloads then we call it good if they have anything elif maxBestQuality == None: From 4a3007a269e574baa78f554aa3a8fd8c15917713 Mon Sep 17 00:00:00 2001 From: Alexandre Beloin Date: Thu, 12 Feb 2015 16:18:18 -0500 Subject: [PATCH 3/4] Set Unknown as low quality. Modified reverted commit d280b56e13ed1423afafbde3749b4650f43e9700 --- sickbeard/tv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sickbeard/tv.py b/sickbeard/tv.py index 91c9d3bc..14621e24 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -1273,6 +1273,8 @@ class TVShow(object): if epStatus == FAILED: return Overview.WANTED + if epStatus == DOWNLOADED and curQuality == Quality.UNKNOWN: + return Overview.QUAL elif epStatus in (SNATCHED, SNATCHED_PROPER, SNATCHED_BEST): return Overview.SNATCHED # if they don't want re-downloads then we call it good if they have anything From 76c8643a6e8c6d0aae6272b2539191916b5c0067 Mon Sep 17 00:00:00 2001 From: Alexandre Beloin Date: Thu, 12 Feb 2015 17:49:14 -0500 Subject: [PATCH 4/4] Added snatched status in backlog overview. --- .../interfaces/default/manage_backlogOverview.tmpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gui/slick/interfaces/default/manage_backlogOverview.tmpl b/gui/slick/interfaces/default/manage_backlogOverview.tmpl index e83b4180..223c7199 100644 --- a/gui/slick/interfaces/default/manage_backlogOverview.tmpl +++ b/gui/slick/interfaces/default/manage_backlogOverview.tmpl @@ -46,22 +46,25 @@ #end if #set $totalWanted = 0 #set $totalQual = 0 +#set $totalSnatched = 0 #for $curShow in $sickbeard.showList: #set $totalWanted = $totalWanted + $showCounts[$curShow.indexerid][$Overview.WANTED] #set $totalQual = $totalQual + $showCounts[$curShow.indexerid][$Overview.QUAL] +#set $totalSnatched = $totalSnatched + $showCounts[$curShow.indexerid][$Overview.SNATCHED] #end for
Wanted: $totalWanted Low Quality: $totalQual + Snatched: $totalSnatched

Jump to Show