def METHOD_NAME(root, index):
    status = root + "/stats?sid=%d" % index
    try:
        r = requests.get(status, timeout=timeout)
    except (RequestException, socket.timeout):
        raise ParseError
    if r.status_code != 200:
        raise ParseError
    entries = {}
    try:
        elm = ET.fromstring(r.content)
    except ET.ParseError:
        raise ParseError
    for e in elm:
        entries[e.tag.lower()] = e.text
    stream = root + entries["streampath"]
    current = entries["currentlisteners"]
    peak = entries["peaklisteners"]
    peak = str(int(peak))
    current = str(int(current))
    return Stream(stream, current, peak)