]> kaliko git repositories - python-musicpd.git/blobdiff - musicpd.py
Fixed documentation
[python-musicpd.git] / musicpd.py
index 6bb050990c900c6585bcb3c61ade7aa89eb3d0a2..e281a922522fb257ff858393d3108eec505d1669 100644 (file)
@@ -15,6 +15,8 @@
 # You should have received a copy of the GNU Lesser General Public License
 # along with python-musicpd.  If not, see <http://www.gnu.org/licenses/>.
 
+# pylint: disable=C0111
+
 import socket
 
 
@@ -22,7 +24,7 @@ HELLO_PREFIX = "OK MPD "
 ERROR_PREFIX = "ACK "
 SUCCESS = "OK"
 NEXT = "list_OK"
-VERSION = '0.3.1b'
+VERSION = '0.4.0pr1'
 
 
 class MPDError(Exception):
@@ -131,6 +133,7 @@ class MPDClient(object):
             "searchaddpl":        self._fetch_nothing,
             "update":             self._fetch_item,
             "rescan":             self._fetch_item,
+            "readcomments":       self._fetch_object,
             # Sticker Commands
             "sticker get":        self._fetch_item,
             "sticker set":        self._fetch_nothing,
@@ -145,6 +148,7 @@ class MPDClient(object):
             # Audio Output Commands
             "disableoutput":      self._fetch_nothing,
             "enableoutput":       self._fetch_nothing,
+            "toggleoutput":       self._fetch_nothing,
             "outputs":            self._fetch_outputs,
             # Reflection Commands
             "commands":           self._fetch_list,
@@ -380,6 +384,7 @@ class MPDClient(object):
         self.mpd_version = line[len(HELLO_PREFIX):].strip()
 
     def _reset(self):
+        # pylint: disable=w0201
         self.mpd_version = None
         self._iterating = False
         self._pending = []