diff --git a/docs/changes.rst b/docs/changes.rst index cd8fd814..b0887deb 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -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) =================== diff --git a/mopidy/frontends/mpd/protocol/music_db.py b/mopidy/frontends/mpd/protocol/music_db.py index a9464241..00559e13 100644 --- a/mopidy/frontends/mpd/protocol/music_db.py +++ b/mopidy/frontends/mpd/protocol/music_db.py @@ -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: