Lowercase type argument for search too, not just find

This commit is contained in:
Stein Magnus Jodal 2010-03-09 00:06:49 +01:00
parent 68ae8e25d8
commit 71d9bb83e5

View File

@ -686,6 +686,7 @@ class MpdHandler(object):
- capitalizes the type argument.
"""
# TODO Support GMPC multi-word search
type = type.lower()
if type == u'title':
type = u'track'
return self.backend.library.search(type, what).mpd_format(