mirror of
https://github.com/beetbox/beets.git
synced 2026-01-04 23:12:51 +01:00
bpd: bump protocol version to 0.16
This commit is contained in:
parent
d8be83bc0d
commit
62aa358ce7
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue