mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-08 20:59:25 +01:00
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
This commit is contained in:
@@ -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+'"'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user