]> kaliko git repositories - python-musicpd.git/commitdiff
Add binarylimit command (closes #10)
authorKaliko Jack <kaliko@azylum.org>
Fri, 5 Feb 2021 10:11:46 +0000 (11:11 +0100)
committerKaliko Jack <kaliko@azylum.org>
Fri, 5 Feb 2021 10:11:46 +0000 (11:11 +0100)
CHANGES.txt
doc/source/commands.txt
musicpd.py

index 1afdfab5186c694fc8809495bfde726781371c6c..e777f9e133e043589ac57580c443c845a155226a 100644 (file)
@@ -1,11 +1,12 @@
 python-musicpd Changes List
 ===========================
 
-Changes in 0.6.1 UNRELEASED
+Changes in 0.6.0 UNRELEASED
 ---------------------------
 
 * Switch back to gztar (even though official python doc mention xztar, PEP 527
   considers only gztar and zip)
+* Add binarylimit command
 
 
 Changes in 0.5.1
index c21bde552afc66b084f274d92d15ae26585b3d18..77c49b65107f316f3730fe12a1cfe244bff3bd66 100644 (file)
@@ -105,6 +105,7 @@ close                               -> None
 kill                                -> None
 password           <str>            -> fetch_nothing
 ping                                -> fetch_nothing
+binarylimit        <str>            -> fetch_nothing
 tagtypes                            -> fetch_list
 tagtypes disable <str> [<str>]...   -> fetch_nothing
 tagtypes enable <str> [<str>]...    -> fetch_nothing
index d4d1974e146d5b5da5bc79c353492e7c8817d1ac..df2c923560c01bf5484d4aec78a59726fd960e0b 100644 (file)
@@ -1,5 +1,5 @@
 # python-musicpd: Python MPD client library
-# Copyright (C) 2012-2020  kaliko <kaliko@azylum.org>
+# Copyright (C) 2012-2021  kaliko <kaliko@azylum.org>
 # Copyright (C) 2019       Naglis Jonaitis <naglis@mailbox.org>
 # Copyright (C) 2019       Bart Van Loon <bbb@bbbart.be>
 # Copyright (C) 2008-2010  J. Alexander Treuman <jat@spatialrift.net>
@@ -256,6 +256,7 @@ class MPDClient:
             "kill":               None,
             "password":           self._fetch_nothing,
             "ping":               self._fetch_nothing,
+            "binarylimit":        self._fetch_nothing,
             "tagtypes":           self._fetch_list,
             "tagtypes disable":   self._fetch_nothing,
             "tagtypes enable":    self._fetch_nothing,