X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;ds=sidebyside;f=musicpd.py;h=82a60854c85c7ba1c30a57952d2f698a184dc29a;hb=2dfdc858438dd13fe3d7befb04113df4b38101a5;hp=16a7955a596884bd387cb5538ce4bc38e8d7b732;hpb=3ad7f42630c5ec5d913a3cbd6aca40e5d04694c2;p=python-musicpd.git diff --git a/musicpd.py b/musicpd.py index 16a7955..82a6085 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 @@ -28,7 +28,7 @@ HELLO_PREFIX = "OK MPD " ERROR_PREFIX = "ACK " SUCCESS = "OK" NEXT = "list_OK" -VERSION = '0.5.0' +VERSION = '0.6.0' #: seconds before a tcp connection attempt times out CONNECTION_TIMEOUT = 5 @@ -173,6 +173,7 @@ class MPDClient: "random": self._fetch_nothing, "repeat": self._fetch_nothing, "setvol": self._fetch_nothing, + "getvol": self._fetch_object, "single": self._fetch_nothing, "replay_gain_mode": self._fetch_nothing, "replay_gain_status": self._fetch_item, @@ -256,6 +257,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,