mpd: Don't lowercase search queries
This commit is contained in:
parent
487503b51c
commit
7ec156e373
@ -110,6 +110,9 @@ backends:
|
||||
- The MPD command ``plchanges`` always returned the entire playlist. It now
|
||||
returns an empty response when the client has seen the latest version.
|
||||
|
||||
- MPD no longer lowercases search queries. This broke e.g. search by URI, where
|
||||
casing may be essential.
|
||||
|
||||
|
||||
v0.8.1 (2012-10-30)
|
||||
===================
|
||||
|
||||
@ -27,7 +27,7 @@ def _build_query(mpd_query):
|
||||
elif field in ('file', 'filename'):
|
||||
field = 'uri'
|
||||
field = str(field) # Needed for kwargs keys on OS X and Windows
|
||||
what = m.groupdict()['what'].lower()
|
||||
what = m.groupdict()['what']
|
||||
if field in query:
|
||||
query[field].append(what)
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user