sw: Allow empty artist

This commit is contained in:
Markus Koch 2020-07-19 18:37:48 +02:00
parent 1cbc6063d6
commit 7efac00348
1 changed files with 5 additions and 1 deletions

View File

@ -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'];