Use the headphones search server if mirror is set to headphones

This commit is contained in:
rembo10
2012-03-20 21:20:09 +00:00
parent be3f853d9b
commit 414d9eb9a0

View File

@@ -23,6 +23,10 @@ def startmb(forcemb=False):
mbuser = None
mbpass = None
# Can use headphones mirror for queries
if headphones.MIRROR == "headphones":
forcemb=False
if forcemb or headphones.MIRROR == "musicbrainz.org":
mbhost = "musicbrainz.org"
mbport = 80