mirror of
https://github.com/moparisthebest/SickRage
synced 2024-08-13 16:53:54 -04:00
Small fix for new trakt feature
This commit is contained in:
parent
df7aa364aa
commit
cbda4d424d
@ -2735,7 +2735,7 @@ class NewHomeAddShows(MainHandler):
|
|||||||
|
|
||||||
def getRecommendedShows(self, *args, **kwargs):
|
def getRecommendedShows(self, *args, **kwargs):
|
||||||
final_results = []
|
final_results = []
|
||||||
|
|
||||||
if sickbeard.USE_TRAKT:
|
if sickbeard.USE_TRAKT:
|
||||||
for myShow in sickbeard.showList:
|
for myShow in sickbeard.showList:
|
||||||
notifiers.trakt_notifier.update_show_library(myShow)
|
notifiers.trakt_notifier.update_show_library(myShow)
|
||||||
@ -2753,7 +2753,7 @@ class NewHomeAddShows(MainHandler):
|
|||||||
recommendedlist if
|
recommendedlist if
|
||||||
not helpers.findCertainShow(sickbeard.showList, indexerid=int(show['tvdb_id']))))
|
not helpers.findCertainShow(sickbeard.showList, indexerid=int(show['tvdb_id']))))
|
||||||
|
|
||||||
return json.dumps({'results': final_results})
|
return json.dumps({'results': final_results})
|
||||||
|
|
||||||
def addRecommendedShow(self, whichSeries=None, indexerLang="en", rootDir=None, defaultStatus=None,
|
def addRecommendedShow(self, whichSeries=None, indexerLang="en", rootDir=None, defaultStatus=None,
|
||||||
anyQualities=None, bestQualities=None, flatten_folders=None, subtitles=None,
|
anyQualities=None, bestQualities=None, flatten_folders=None, subtitles=None,
|
||||||
|
Loading…
Reference in New Issue
Block a user