Remove 'ack' command added by Mopidy
This commit is contained in:
parent
1aa5963697
commit
4e29754ce6
@ -106,13 +106,6 @@ class MpdFrontend(object):
|
||||
response.append(u'OK')
|
||||
return response
|
||||
|
||||
@handle_pattern(r'^ack$')
|
||||
def _ack(self):
|
||||
"""
|
||||
Always returns an 'ACK'. Not a part of the MPD protocol.
|
||||
"""
|
||||
raise MpdNotImplemented
|
||||
|
||||
@handle_pattern(r'^disableoutput "(?P<outputid>\d+)"$')
|
||||
def _audio_output_disableoutput(self, outputid):
|
||||
"""
|
||||
@ -1115,9 +1108,6 @@ class MpdFrontend(object):
|
||||
"""
|
||||
commands = sorted(list(_commands))
|
||||
|
||||
# Added by Mopidy. Not a part of the MPD protocol.
|
||||
commands.remove('ack')
|
||||
|
||||
# Not shown by MPD in its command list
|
||||
commands.remove('command_list_begin')
|
||||
commands.remove('command_list_ok_begin')
|
||||
|
||||
@ -1197,7 +1197,6 @@ class ReflectionHandlerTest(unittest.TestCase):
|
||||
self.assert_(u'command: play' in result)
|
||||
self.assert_(u'command: status' in result)
|
||||
# Check if the blacklisted commands are not present
|
||||
self.assert_(u'command: ack' not in result)
|
||||
self.assert_(u'command: command_list_begin' not in result)
|
||||
self.assert_(u'command: command_list_ok_begin' not in result)
|
||||
self.assert_(u'command: command_list_end' not in result)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user