'Do not call this function. It is for internal use at startup.'

def setup(self):

    try:
        coverage = []
        if (self._config and (u'restore_state' in self._config[u'core'])):
            if self._config[u'core'][u'restore_state']:
                coverage = [u'tracklist', u'mode', u'play-last', u'mixer', u'history']
        if len(coverage):
            self._load_state(coverage)
    except Exception as e:
        logger.warn(u'Restore    state:    Unexpected    error:    %s', str(e))
