From: Kaliko Jack Date: Mon, 17 Nov 2014 14:40:28 +0000 (+0100) Subject: Add config command X-Git-Tag: v0.4.2~3 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=50cb8c23bcd8767244d68e24374e2978a85da420;p=python-musicpd.git Add config command --- diff --git a/CHANGES.txt b/CHANGES.txt index dd2bada..0f1e647 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,6 +10,7 @@ Changes in 0.4.2 UNRELEASED * Add rangeid command * Add tag editing commands (addtagid and cleartagid) * Add missing priority commands (prio and prioid) +* Add config command Changes in 0.4.1 ---------------- diff --git a/doc/commands.txt b/doc/commands.txt index 40d8941..178d883 100644 --- a/doc/commands.txt +++ b/doc/commands.txt @@ -84,10 +84,10 @@ rescan [] -> fetch_item == Mounts and neighbors == -mount -> self._fetch_nothing -unmount -> self._fetch_nothing -listmounts -> self._fetch_mounts -listneighbors -> self._fetch_neighbors +mount -> self._fetch_nothing +unmount -> self._fetch_nothing +listmounts -> self._fetch_mounts +listneighbors -> self._fetch_neighbors == Sticker Commands sticker get -> fetch_item @@ -97,20 +97,21 @@ sticker list -> fetch_list sticker find -> fetch_songs == Connection Commands -close -> None -kill -> None -password -> fetch_nothing -ping -> fetch_nothing +close -> None +kill -> None +password -> fetch_nothing +ping -> fetch_nothing == Audio Output Commands -disableoutput -> fetch_nothing -enableoutput -> fetch_nothing -toggleoutput -> fetch_nothing -outputs -> fetch_outputs +disableoutput -> fetch_nothing +enableoutput -> fetch_nothing +toggleoutput -> fetch_nothing +outputs -> fetch_outputs == Reflection Commands -commands -> fetch_list -notcommands -> fetch_list -tagtypes -> fetch_list -urlhandlers -> fetch_list -decoders -> fetch_plugins +config -> fetch_object +commands -> fetch_list +notcommands -> fetch_list +tagtypes -> fetch_list +urlhandlers -> fetch_list +decoders -> fetch_plugins diff --git a/musicpd.py b/musicpd.py index 4ead39a..5b4c388 100644 --- a/musicpd.py +++ b/musicpd.py @@ -188,6 +188,7 @@ class MPDClient: "toggleoutput": self._fetch_nothing, "outputs": self._fetch_outputs, # Reflection Commands + "config": self._fetch_object, "commands": self._fetch_list, "notcommands": self._fetch_list, "tagtypes": self._fetch_list,