diff options
-rwxr-xr-x | daemon.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -49,7 +49,11 @@ class Daemon: incoming = self.client.currentsong() - self.line = incoming["artist"] + " - " + incoming["title"] + try: + self.line = incoming["artist"] + " - " + incoming["title"] + except KeyError: + self.line = " -- NO INFO --" + if self.line != old_line: changed = True |