mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 07:22:37 -07:00
Fix Imgur poster lookup on imfo pages
This commit is contained in:
parent
df1a42a4ee
commit
9f6422cc8d
1 changed files with 4 additions and 4 deletions
|
@ -1254,10 +1254,10 @@ class DataFactory(object):
|
||||||
poster_info = {}
|
poster_info = {}
|
||||||
|
|
||||||
if poster_key:
|
if poster_key:
|
||||||
imgur_info = self.get_img_info(rating_key=poster_key, order_by='height', fallback='poster', service='imgur')
|
img_info = self.get_img_info(rating_key=poster_key, order_by='height', fallback='poster', service='imgur')
|
||||||
if imgur_info:
|
if img_info:
|
||||||
poster_info = {'poster_title': imgur_info[0]['imgur_title'],
|
poster_info = {'poster_title': img_info[0]['img_title'],
|
||||||
'poster_url': imgur_info[0]['imgur_url']}
|
'poster_url': img_info[0]['img_url']}
|
||||||
|
|
||||||
return poster_info
|
return poster_info
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue