From 4252daf098876ce5f4b27bb73eca519562f4c3cc Mon Sep 17 00:00:00 2001 From: Mark Rawson Date: Sun, 29 Jun 2014 16:49:47 +0100 Subject: [PATCH] Fix next backlog date in API / altered display of next backlog date in UI --- gui/slick/interfaces/default/inc_bottom.tmpl | 2 +- sickbeard/searchBacklog.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/slick/interfaces/default/inc_bottom.tmpl b/gui/slick/interfaces/default/inc_bottom.tmpl index 25fccc23..51b31f3b 100644 --- a/gui/slick/interfaces/default/inc_bottom.tmpl +++ b/gui/slick/interfaces/default/inc_bottom.tmpl @@ -15,7 +15,7 @@ #set $numEpisodes = $myDB.select("SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN ("+",".join([str(x) for x in ($Quality.DOWNLOADED + $Quality.SNATCHED + $Quality.SNATCHED_PROPER) + [$ARCHIVED]])+")) AND airdate <= "+$today+" AND status != "+str($IGNORED)+"")[0][0] $numShows shows ($numGoodShows active) | $numDLEpisodes/$numEpisodes episodes downloaded | Search: <%=str(sickbeard.dailySearchScheduler.timeLeft()).split('.')[0]%> | -Backlog: $sbdatetime.sbdatetime.sbfdate($sickbeard.backlogSearchScheduler.nextRun()) +Backlog: <%=str(sickbeard.backlogSearchScheduler.timeLeft()).split('.')[0]%>