From 47bb8b1f806ac5d04b06da94a8b79357225fec17 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Thu, 26 Dec 2019 14:01:16 +0100 Subject: [PATCH] [modules/mpd] Small array vs. dict fix --- bumblebee/modules/mpd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumblebee/modules/mpd.py b/bumblebee/modules/mpd.py index 6e0d32c..1144357 100644 --- a/bumblebee/modules/mpd.py +++ b/bumblebee/modules/mpd.py @@ -79,7 +79,7 @@ class Module(bumblebee.engine.Module): def _load_song(self): info = "" try: - tags = {'name', + tags = ['name', 'artist', 'album', 'albumartist', @@ -97,7 +97,7 @@ class Module(bumblebee.engine.Module): 'id', 'prio', 'mtime', - 'mdate'} + 'mdate'] joinedtags = "\n".join(["tag {0} %{0}%".format(tag) for tag in tags]) info = bumblebee.util.execute('mpc -f ' + '"' + joinedtags + '"' + self._hostcmd) except RuntimeError: