Fixed exception when there's no artist name in the metadata when scanning
This commit is contained in:
parent
b89150f5d2
commit
5dc6a17d20
@ -85,7 +85,7 @@ def artists_to_mpd_format(artists):
|
||||
:rtype: string
|
||||
"""
|
||||
artists.sort(key=lambda a: a.name)
|
||||
return u', '.join([a.name for a in artists])
|
||||
return u', '.join([a.name or '' for a in artists])
|
||||
|
||||
def tracks_to_mpd_format(tracks, start=0, end=None, cpids=None):
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user