mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 16:52:58 -07:00
Add default thumb and art to Live TV library
This commit is contained in:
parent
bfa4d3dfec
commit
ccf0e0dae7
4 changed files with 20 additions and 0 deletions
|
@ -4439,6 +4439,10 @@ class WebInterface(object):
|
|||
None
|
||||
```
|
||||
"""
|
||||
if isinstance(img, str) and img.startswith('interfaces/default/images'):
|
||||
fp = os.path.join(plexpy.PROG_DIR, 'data', img)
|
||||
return serve_file(path=fp, content_type='image/png')
|
||||
|
||||
if not img and not rating_key:
|
||||
if fallback in common.DEFAULT_IMAGES:
|
||||
fbi = common.DEFAULT_IMAGES[fallback]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue