for line in p.stdout:
    if line.startswith('ICY Info:'):
        info = line.split(':', 1)[1].strip()
attrs = dict(re.findall("(\\w+)='([^']*)'", info))
print('Stream title: ' + attrs.get('StreamTitle', '(none)'))
Python: Parse stream title with mplayer