From 7efac0034846bd0ccb580ccd8595801cca70897b Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 19 Jul 2020 18:37:48 +0200 Subject: [PATCH] sw: Allow empty artist --- software/webradio.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/software/webradio.py b/software/webradio.py index 9f8b643..8bd5a9c 100644 --- a/software/webradio.py +++ b/software/webradio.py @@ -155,7 +155,11 @@ class radioserv: # Song title try: - title = currentsong['title'] + " by " + currentsong['artist'] + title = currentsong['title'] + try: + title += " by " + currentsong['artist'] + except: + pass except: try: title = currentsong['file'];