From c2768ae1f06e3a9a487014909773eb65bf45f709 Mon Sep 17 00:00:00 2001 From: sbuser Date: Wed, 10 Aug 2011 20:37:30 -0500 Subject: [PATCH] Added special character '*' to list of exceptions in mb.findArtist query. Why are you only quoting the queries with special characters? Better results are had with quoting every time because of how lucene works imo --- headphones/mb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/mb.py b/headphones/mb.py index 1d6b20cd..7acb339f 100644 --- a/headphones/mb.py +++ b/headphones/mb.py @@ -24,7 +24,7 @@ def findArtist(name, limit=1): attempt = 0 artistResults = None - chars = set('!?') + chars = set('!?*') if any((c in chars) for c in name): name = '"'+name+'"'