'Return a dictionary with info about the current cmus status.'

def get_info(self):

    try:
        output = self.call_process(['cmus-remote', '-C', 'status'])
    except subprocess.CalledProcessError as err:
        output = err.output.decode()
    if output.startswith('status'):
        output = output.splitlines()
        info = {'status': '', 'file': '', 'artist': '', 'album': '', 'title': '', 'stream': ''}
        for line in output:
            for data in info:
                if (data in line):
                    index = line.index(data)
                    if (index < 5):
                        info[data] = line[(len(data) + index):].strip()
                        break
                elif line.startswith('set'):
                    return info
        return info
