fall back to recent song when listening to a podcast

This commit is contained in:
John Corser
2020-12-17 18:39:39 -05:00
parent fc8e83348e
commit ac1647bbe5

View File

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