bpd: bump protocol version to 0.16

This commit is contained in:
Carl Suster 2019-04-13 14:18:54 +10:00
parent d8be83bc0d
commit 62aa358ce7
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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: