From: Kaliko Jack Date: Sun, 25 Aug 2024 13:37:34 +0000 (+0200) Subject: Add stickernames command (closes #19) X-Git-Tag: v0.9.1~1 X-Git-Url: http://git.kaliko.me/?a=commitdiff_plain;h=6364ca3c78458a1052c7694519a8b948718fa922;p=python-musicpd.git Add stickernames command (closes #19) --- diff --git a/CHANGES.txt b/CHANGES.txt index 54035c1..381d8db 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,7 @@ python-musicpd Changes List Changes in 0.9.1 ---------------- + * Add stickernames command * Add searchcount command * Improved documentation, add supported commands rtype diff --git a/doc/source/_commands.rst b/doc/source/_commands.rst index 9a85b86..432403b 100644 --- a/doc/source/_commands.rst +++ b/doc/source/_commands.rst @@ -133,6 +133,7 @@ Protocol documentation: `Stickers None * **sticker list** -> list * **sticker find** -> list[dict] +* **stickernames** -> list Connection settings ^^^^^^^^^^^^^^^^^^^ diff --git a/musicpd.py b/musicpd.py index 116f5cc..5dc9a14 100644 --- a/musicpd.py +++ b/musicpd.py @@ -280,6 +280,7 @@ class MPDClient: "sticker delete": self._fetch_nothing, "sticker list": self._fetch_list, "sticker find": self._fetch_songs, + "stickernames": self._fetch_list, # Connection settings # connection-settings "close": None, "kill": None,