mpd: Fix list commands with 3 arguments (fixes #817)
List commands with 3 arguments should return albums, not artists.
This commit is contained in:
parent
9771eda230
commit
ec413126f1
@ -257,7 +257,7 @@ def list_(context, *args):
|
||||
if len(parameters) == 1:
|
||||
if field != 'album':
|
||||
raise exceptions.MpdArgError('should be "Album" for 3 arguments')
|
||||
return _list_artist(context, {'artist': parameters})
|
||||
return _list_album(context, {'artist': parameters})
|
||||
|
||||
try:
|
||||
query = _query_from_mpd_search_parameters(parameters, _LIST_MAPPING)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user