]> kaliko git repositories - python-musicpd.git/commitdiff
Add stickernames command (closes #19)
authorKaliko Jack <kaliko@azylum.org>
Sun, 25 Aug 2024 13:37:34 +0000 (15:37 +0200)
committerKaliko Jack <kaliko@azylum.org>
Sun, 25 Aug 2024 13:37:34 +0000 (15:37 +0200)
CHANGES.txt
doc/source/_commands.rst
musicpd.py

index 54035c14769171af08be8f7b113de65e6bead639..381d8dbdab58a5cedea91e8cae4a84866d8dfeeb 100644 (file)
@@ -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
 
index 9a85b8693e3732a60d92e7e488f2452bdacc4b75..432403b83c452407c15354d4ef5fe128cd84e668 100644 (file)
@@ -133,6 +133,7 @@ Protocol documentation: `Stickers <https://mpd.readthedocs.io/en/latest/protocol
 * **sticker delete** -> None
 * **sticker list** -> list
 * **sticker find** -> list[dict]
+* **stickernames** -> list
 
 Connection settings
 ^^^^^^^^^^^^^^^^^^^
index 116f5cc9a3eae6444e0feac8ac2b4793bedb1a38..5dc9a14801c092b370ccb8917d1b0365d71287db 100644 (file)
@@ -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,