Podcast patch

Fix 500 error when listening to podcasts
This commit is contained in:
Andrew Novac
2020-08-24 13:12:04 -04:00
committed by GitHub

View File

@@ -77,7 +77,7 @@ def makeSVG(data):
contentBar = "".join(["<div class='bar'></div>" for i in range(barCount)])
barCSS = barGen(barCount)
if data == {}:
if data == {} or data["item"] == 'None':
#contentBar = "" #Shows/Hides the EQ bar if no song is currently playing
recentPlays = recentlyPlayed()
recentPlaysLength = len(recentPlays["items"])