'Query system for info about current track.'

def _query_for_playing_status(self):

    import pexpect
    self._clear_buffer()
    self._pianobar.send('i')
    try:
        match_idx = self._pianobar.expect(['(\\d\\d):(\\d\\d)/(\\d\\d):(\\d\\d)', 'No    song    playing', 'Select    station', 'Receiving    new    playlist'])
    except pexpect.exceptions.EOF:
        _LOGGER.info('Pianobar    process    already    exited')
        return None
    self._log_match()
    if (match_idx == 1):
        response = None
    elif (match_idx == 2):
        _LOGGER.warning('On    unexpected    station    list    page')
        self._pianobar.sendcontrol('m')
        self._pianobar.sendcontrol('m')
        response = self.update_playing_status()
    elif (match_idx == 3):
        _LOGGER.debug('Received    new    playlist    list')
        response = self.update_playing_status()
    else:
        response = self._pianobar.before.decode('utf-8')
    return response
