mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 16:52:58 -07:00
Fix pms_image_proxy for composites
This commit is contained in:
parent
0ba755e463
commit
8d18e98ca7
1 changed files with 2 additions and 1 deletions
|
@ -4535,8 +4535,9 @@ class WebInterface(object):
|
|||
img = '/library/metadata/{}/thumb'.format(rating_key)
|
||||
|
||||
if img.startswith('/library/metadata'):
|
||||
parts = 6 if 'composite' in img else 5
|
||||
img_split = img.split('/')
|
||||
img = '/'.join(img_split[:5])
|
||||
img = '/'.join(img_split[:parts])
|
||||
img_rating_key = img_split[3]
|
||||
if rating_key != img_rating_key:
|
||||
rating_key = img_rating_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue