From c4413651e70147a1f7272a74575b4ef9bc91c15c Mon Sep 17 00:00:00 2001 From: Semyon Date: Sat, 26 Mar 2022 23:27:43 +0300 Subject: [PATCH] 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. --- bin/miniplayer | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/miniplayer b/bin/miniplayer index 5c673d2..687dce0 100755 --- a/bin/miniplayer +++ b/bin/miniplayer @@ -623,6 +623,9 @@ class Player: except KeyError: artist = "" + if type(artist) is list: + artist = ", ".join(artist) + try: title = song["title"] except KeyError: