From 933399957285e3ef2c16144a9467900d63b8bc46 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Wed, 17 Jul 2013 21:15:05 +0530 Subject: [PATCH] Updated ngs lib and mb.py to use the new server .... hopefully for the last time --- 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 18f60e17..ce35d641 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 = "176.58.107.206" + mbhost = "144.76.94.239" mbport = 8181 mbuser = headphones.HPUSER mbpass = headphones.HPPASS diff --git a/lib/musicbrainzngs/musicbrainz.py b/lib/musicbrainzngs/musicbrainz.py index c62fe8ab..7f6b111c 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 == '176.58.107.206:8181': + if hostname == '144.76.94.239:8181': base64string = base64.encodestring('%s:%s' % (hpuser, hppassword)).replace('\n', '') req.add_header("Authorization", "Basic %s" % base64string)