'Handles notifying Emby host via HTTP API
Returns:
Returns True for no issue or False if there was an error'

def _notify_emby(self, message, host=None, emby_apikey=None):

    if (not host):
        host = sickrage.srCore.srConfig.EMBY_HOST
    if (not emby_apikey):
        emby_apikey = sickrage.srCore.srConfig.EMBY_APIKEY
    url = (u'http://%s/emby/Notifications/Admin' % host)
    values = {u'Name': u'SiCKRAGE', u'Description': message, u'ImageUrl': u'https://www.sickrage.ca/favicon.ico'}
    data = json.dumps(values)
    try:
        req = urllib2.Request(url, data)
        req.add_header(u'X-MediaBrowser-Token', emby_apikey)
        req.add_header(u'Content-Type', u'application/json')
        response = urllib2.urlopen(req)
        result = response.read()
        response.close()
        sickrage.srCore.srLogger.debug((u'EMBY:    HTTP    response:    ' + result.replace(u'\n', u'')))
        return True
    except (urllib2.URLError, IOError) as e:
        sickrage.srCore.srLogger.warning((((u"EMBY:    Warning:    Couldn't    contact    Emby    at    " + url) + u'    ') + e))
        return False
