code: def _GetEpisodeName(self, showID, season, episode):
      
      # Load data for showID from dictionary
      showInfo = csv.reader(self._showInfoDict[showID].splitlines())
      for rowCnt, row in enumerate(showInfo):
        if rowCnt == 0:
          # Get header column index
          for colCnt, column in enumerate(row):
            if column == 'season':
              seasonIndex = colCnt
            if column == 'episode':
              episodeIndex = colCnt
            if column == 'title':
              titleIndex = colCnt
        else:
          # Iterate rows until matching season and episode found
          try:
            int(row[seasonIndex])
            int(row[episodeIndex])
          except ValueError:
            # Skip rows which don't provide integer season or episode numbers
            pass
          else:
            if int(row[seasonIndex]) == int(season) and int(row[episodeIndex]) == int(episode):
              goodlogging.Log.Info("EPGUIDE", "Episode name is {0}".format(row[titleIndex]), verbosity=self.logVerbosity)
              return row[titleIndex]
      return None
docs: Get episode name from epguides show info.
  
      Parameters
      ----------
        showID : string
          Identifier matching show in epguides.
  
        season : int
          Season number.
  
        epiosde : int
          Epiosde number.
  
      Returns
      ----------
        int or None
          If an episode name is found this is returned, otherwise the return
          value is None.