mirror of
https://github.com/moparisthebest/SickRage
synced 2025-03-04 10:29:52 -05:00
Fix for showPoster() api calls
This commit is contained in:
parent
e202cbc0ac
commit
bd582d18d0
@ -2103,7 +2103,7 @@ class CMD_ShowGetPoster(ApiCall):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
""" get the poster for a show in sickbeard """
|
""" get the poster for a show in sickbeard """
|
||||||
return {'outputType': 'image', 'image': webserve.IndexHandler.showPoster(self.indexerid, 'poster')}
|
return {'outputType': 'image', 'image': webserve.IndexHandler(self.application, self.request).showPoster(self.indexerid, 'poster')}
|
||||||
|
|
||||||
|
|
||||||
class CMD_ShowGetBanner(ApiCall):
|
class CMD_ShowGetBanner(ApiCall):
|
||||||
@ -2121,7 +2121,7 @@ class CMD_ShowGetBanner(ApiCall):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
""" get the banner for a show in sickbeard """
|
""" get the banner for a show in sickbeard """
|
||||||
return {'outputType': 'image', 'image': webserve.IndexHandler.showPoster(self.indexerid, 'banner')}
|
return {'outputType': 'image', 'image': webserve.IndexHandler(self.application, self.request).showPoster(self.indexerid, 'banner')}
|
||||||
|
|
||||||
|
|
||||||
class CMD_ShowPause(ApiCall):
|
class CMD_ShowPause(ApiCall):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user