def METHOD_NAME(self):
    session_url = self.host_port+"/Sessions?api_key={}".format(self.api_key)
    info = {
        "status": NOT_RUNNING,
        "state": PAUSED,
        "file_name": None,
        "view_offset": None
    }
    try:
        response = requests.get(session_url)
        response_json = response.json()
    except requests.exceptions.ConnectionError:
        return info
    for session in response_json:
        if 'UserName' not in session:
            continue
        if session['UserName'] != self.username:
            continue
        if 'NowPlayingItem' in session:
            current_session = session['NowPlayingItem']
            return {
                "status": ACTIVE,
                "state": PAUSED if session['PlayState']['IsPaused'] else PLAYING,
                "file_name": os.path.basename(current_session['Path']),
                "view_offset": int(session['PlayState']['PositionTicks']/10000)
            }
    info["status"] = IDLE
    return info