'Takes show name, returns the correct series ID (if the show has
already been grabbed), or grabs all episodes and returns
the correct SID.'

def _nameToSid(self, name):

    if (name in self.corrections):
        log().debug(('Correcting    %s    to    %s' % (name, self.corrections[name])))
        return self.corrections[name]
    else:
        log().debug(('Getting    show    %s' % name))
        selected_series = self._getSeries(name)
        if isinstance(selected_series, dict):
            selected_series = [selected_series]
        sids = list((int(x['id']) for x in selected_series if self._getShowData(int(x['id']), self.config['language'])))
        self.corrections.update(dict(((x['seriesname'], int(x['id'])) for x in selected_series)))
        return sids
