From 49b0bba9011b6af47830856ce14d994e47576fb8 Mon Sep 17 00:00:00 2001 From: Kaliko Jack Date: Fri, 5 Feb 2021 11:11:46 +0100 Subject: [PATCH] Add binarylimit command (closes #10) --- CHANGES.txt | 3 ++- doc/source/commands.txt | 1 + musicpd.py | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 1afdfab..e777f9e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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 diff --git a/doc/source/commands.txt b/doc/source/commands.txt index c21bde5..77c49b6 100644 --- a/doc/source/commands.txt +++ b/doc/source/commands.txt @@ -105,6 +105,7 @@ close -> None kill -> None password -> fetch_nothing ping -> fetch_nothing +binarylimit -> fetch_nothing tagtypes -> fetch_list tagtypes disable []... -> fetch_nothing tagtypes enable []... -> fetch_nothing diff --git a/musicpd.py b/musicpd.py index d4d1974..df2c923 100644 --- a/musicpd.py +++ b/musicpd.py @@ -1,5 +1,5 @@ # python-musicpd: Python MPD client library -# Copyright (C) 2012-2020 kaliko +# Copyright (C) 2012-2021 kaliko # Copyright (C) 2019 Naglis Jonaitis # Copyright (C) 2019 Bart Van Loon # Copyright (C) 2008-2010 J. Alexander Treuman @@ -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, -- 2.39.5