From c4413651e70147a1f7272a74575b4ef9bc91c15c Mon Sep 17 00:00:00 2001 From: Semyon Date: Sat, 26 Mar 2022 23:27:43 +0300 Subject: [PATCH 1/2] 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: From d24e2cc2ece7d91e0fefca922c5630fb2e9cc05a Mon Sep 17 00:00:00 2001 From: Erica Date: Mon, 28 Mar 2022 23:00:31 +0000 Subject: [PATCH 2/2] Updated version --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 2290671..fbc46cf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = miniplayer -version = 1.5.1 +version = 1.5.2 description = An mpd client with album art and basic functionality. long_description = file: README.md long_description_content_type = text/markdown