mpd: Merge pull request #1597 from Btjones711/idleFix
Changed Idle's list command to True. In order to stay in convention with MPD
This commit is contained in:
commit
ebc3eb75ad
@ -4,6 +4,13 @@ Changelog
|
||||
|
||||
This changelog is used to track all major changes to Mopidy.
|
||||
|
||||
v2.1.1 (unreleased)
|
||||
===================
|
||||
|
||||
Bug fix release.
|
||||
|
||||
- MPD: Added Idle to the list of commands in Mopidy like the list in MPD (Fixes: :issue:`1593`, PR: :issue:`1597`)
|
||||
|
||||
|
||||
v2.1.0 (2017-01-02)
|
||||
===================
|
||||
|
||||
@ -42,7 +42,7 @@ def currentsong(context):
|
||||
tl_track, position=position, stream_title=stream_title)
|
||||
|
||||
|
||||
@protocol.commands.add('idle', list_command=False)
|
||||
@protocol.commands.add('idle')
|
||||
def idle(context, *subsystems):
|
||||
"""
|
||||
*musicpd.org, status section:*
|
||||
|
||||
@ -23,7 +23,7 @@ class ReflectionHandlerTest(protocol.BaseTestCase):
|
||||
self.assertNotInResponse('command: command_list_begin')
|
||||
self.assertNotInResponse('command: command_list_ok_begin')
|
||||
self.assertNotInResponse('command: command_list_end')
|
||||
self.assertNotInResponse('command: idle')
|
||||
self.assertInResponse('command: idle')
|
||||
self.assertNotInResponse('command: noidle')
|
||||
self.assertNotInResponse('command: sticker')
|
||||
self.assertInResponse('OK')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user