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:
Thomas Adamcik 2017-01-28 10:34:45 +01:00 committed by GitHub
commit ebc3eb75ad
3 changed files with 9 additions and 2 deletions

View File

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

View File

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

View File

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