From 62aa358ce7fa8f6a0193009d403ca3936d3df890 Mon Sep 17 00:00:00 2001 From: Carl Suster Date: Sat, 13 Apr 2019 14:18:54 +1000 Subject: [PATCH] bpd: bump protocol version to 0.16 --- beetsplug/bpd/__init__.py | 2 +- docs/plugins/bpd.rst | 2 +- test/test_player.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beetsplug/bpd/__init__.py b/beetsplug/bpd/__init__.py index ab515b388..045bce035 100644 --- a/beetsplug/bpd/__init__.py +++ b/beetsplug/bpd/__init__.py @@ -39,7 +39,7 @@ from beets import dbcore from mediafile import MediaFile import six -PROTOCOL_VERSION = '0.14.0' +PROTOCOL_VERSION = '0.16.0' BUFSIZE = 1024 HELLO = u'OK MPD %s' % PROTOCOL_VERSION diff --git a/docs/plugins/bpd.rst b/docs/plugins/bpd.rst index 8bfe456ad..c1a94e972 100644 --- a/docs/plugins/bpd.rst +++ b/docs/plugins/bpd.rst @@ -103,7 +103,7 @@ but doesn't support many advanced playback features. Differences from the real MPD ----------------------------- -BPD currently supports version 0.14 of `the MPD protocol`_, but several of the +BPD currently supports version 0.16 of `the MPD protocol`_, but several of the commands and features are "pretend" implementations or have slightly different behaviour to their MPD equivalents. BPD aims to look enough like MPD that it can interact with the ecosystem of clients, but doesn't try to be diff --git a/test/test_player.py b/test/test_player.py index 735f9c62c..959d77eb3 100644 --- a/test/test_player.py +++ b/test/test_player.py @@ -363,7 +363,7 @@ class BPDTestHelper(unittest.TestCase, TestHelper): class BPDTest(BPDTestHelper): def test_server_hello(self): with self.run_bpd(do_hello=False) as client: - self.assertEqual(client.readline(), b'OK MPD 0.14.0\n') + self.assertEqual(client.readline(), b'OK MPD 0.16.0\n') def test_unknown_cmd(self): with self.run_bpd() as client: