mirror of
https://github.com/Alvin-Zilverstand/novatorem.git
synced 2026-03-06 02:57:12 +01:00
Podcast patch
Fix 500 error when listening to podcasts
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user