diff --git a/mopidy/mpd/handler.py b/mopidy/mpd/handler.py index 557cccf8..d60e16e7 100644 --- a/mopidy/mpd/handler.py +++ b/mopidy/mpd/handler.py @@ -589,6 +589,7 @@ class MpdHandler(object): #return result @handle_pattern(r'^list "(?Partist)"$') + @handle_pattern(r'^list (?PArtist)$') @handle_pattern(r'^list "(?Palbum)"( "(?P[^"]+)")*$') def _music_db_list(self, type, artist=None): """ @@ -601,7 +602,13 @@ class MpdHandler(object): ``ARTIST`` is an optional parameter when type is ``album``, this specifies to list albums by an artist. + + *ncmpc:* + + - does not add quotes around the type argument. + - capitalizes the type argument. """ + type = type.lower() pass # TODO @handle_pattern(r'^listall "(?P[^"]+)"')