Merge pull request #1389 from herby2212/nightly

Add most active libraries card and total plays to home stats
This commit is contained in:
JonnyWong16 2021-03-15 12:03:55 -07:00 committed by GitHub
commit 3dd9dfa48b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 105 additions and 4 deletions

View file

@ -4665,7 +4665,7 @@ class WebInterface(object):
else:
img = '/library/metadata/{}/thumb'.format(rating_key)
if img:
if img and not img.startswith('http'):
parts = 5
if img.startswith('/playlists'):
parts -= 1