Added official-ish headphones mirror for musicbrainz - new installs will use it as default, but if you're updating, you can change it in settings

This commit is contained in:
Remy Varma
2012-02-22 20:40:59 +00:00
parent 54ecf76a4b
commit 140ae51839
2 changed files with 6 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ PROWL_ENABLED = True
PROWL_PRIORITY = 1
PROWL_KEYS = None
PROWL_ONSNATCH = True
MIRRORLIST = ["musicbrainz.org","tbueter.com","localhost"]
MIRRORLIST = ["musicbrainz.org","headphones","tbueter.com","localhost"]
MIRROR = None
def CheckSection(sec):
@@ -303,7 +303,7 @@ def initialize():
PROWL_ONSNATCH = bool(check_setting_int(CFG, 'Prowl', 'prowl_onsnatch', 0))
PROWL_PRIORITY = check_setting_int(CFG, 'Prowl', 'prowl_priority', 0)
MIRROR = check_setting_str(CFG, 'General', 'mirror', 'tbueter.com')
MIRROR = check_setting_str(CFG, 'General', 'mirror', 'headphones')
if not LOG_DIR:
LOG_DIR = os.path.join(DATA_DIR, 'logs')

View File

@@ -24,6 +24,10 @@ def startmb():
mbhost = "localhost"
mbport = 7143
sleepytime = 0
elif headphones.MIRROR == "headphones":
mbhost = "178.63.142.150"
mbport = 5000
sleepytime = 0
elif headphones.MIRROR == "tbueter.com":
mbhost = "tbueter.com"
mbport = 3000