Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Made the SB images use the API #96

Merged
merged 1 commit into from

2 participants

@midgetspy

The regular images are behind auth, the API is not.

@mrkipling mrkipling merged commit 8e77889 into mrkipling:master
@mrkipling
Owner

Thanks for this, have merged it in.

@midgetspy midgetspy deleted the midgetspy:sb_api_images branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 15, 2012
  1. @midgetspy
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 2 deletions.
  1. +1 −2  modules/sickbeard.py
View
3  modules/sickbeard.py
@@ -179,8 +179,7 @@ def history(limit):
# returns a link with the path to the required image from SB
def get_pic(tvdb, style='banner'):
- url = '%s:%s' %(get_setting_value('sickbeard_ip'), get_setting_value('sickbeard_port'))
- return 'http://%s/showPoster/?show=%s&which=%s' %(url, tvdb, style)
+ return '%s/?cmd=show.get%s&tvdbid=%s' % (sickbeard_url(), style, tvdb)
@app.route('/sickbeard/get_ep_info/<tvdbid>/<season>/<ep>')
def get_episode_info(tvdbid, season, ep):
Something went wrong with that request. Please try again.