From cef169331526a38efbcf220b7fb9e72e199e9acf Mon Sep 17 00:00:00 2001 From: rembo10 Date: Fri, 21 Jun 2013 21:38:24 +0700 Subject: [PATCH] Update ip to new vip server --- headphones/mb.py | 2 +- lib/musicbrainzngs/musicbrainz.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/mb.py b/headphones/mb.py index f61ef991..18f60e17 100644 --- a/headphones/mb.py +++ b/headphones/mb.py @@ -44,7 +44,7 @@ def startmb(): mbport = int(headphones.CUSTOMPORT) sleepytime = int(headphones.CUSTOMSLEEP) elif headphones.MIRROR == "headphones": - mbhost = "192.30.34.130" + mbhost = "176.58.107.206" mbport = 8181 mbuser = headphones.HPUSER mbpass = headphones.HPPASS diff --git a/lib/musicbrainzngs/musicbrainz.py b/lib/musicbrainzngs/musicbrainz.py index 0dcdaf2a..c62fe8ab 100644 --- a/lib/musicbrainzngs/musicbrainz.py +++ b/lib/musicbrainzngs/musicbrainz.py @@ -497,7 +497,7 @@ def _mb_request(path, method='GET', auth_required=False, client_required=False, req.add_header('User-Agent', _useragent) # Add headphones credentials - if hostname == '192.30.34.130:8181': + if hostname == '176.58.107.206:8181': base64string = base64.encodestring('%s:%s' % (hpuser, hppassword)).replace('\n', '') req.add_header("Authorization", "Basic %s" % base64string)