Fixed multiple artists

Tracks with multiple artists used to cause rendering issues and crashes
because then `artist` field was a list of strings while miniplayer
incorrectly assumed it to be a single string. The issue is fixed by
compiling multiple artists into a single string, separating them with
commas.
This commit is contained in:
Semyon
2022-03-26 23:27:43 +03:00
parent ee69737141
commit c4413651e7

View File

@ -623,6 +623,9 @@ class Player:
except KeyError:
artist = ""
if type(artist) is list:
artist = ", ".join(artist)
try:
title = song["title"]
except KeyError: