def AddSeasonDirTable(self, showID, seasonNum, seasonDir):
    """
    Add entry to SeasonDir table. If a different entry for season directory
    is found for the given show id and season number combination this raises
    a fatal error.

    Parameters
    ----------
      showID : int
        Show id.

      seasonNum : int
        Season number.

      seasonDir : string
        Season directory name.
    """
    goodlogging.Log.Info("DB", "Adding season directory ({0}) to database for ShowID={1}, Season={2}".format(seasonDir, showID, seasonNum), verbosity=self.logVerbosity)

    currentValue = self.SearchSeasonDirTable(showID, seasonNum)

    if currentValue is None:
      self._ActionDatabase("INSERT INTO SeasonDir (ShowID, Season, SeasonDir) VALUES (?,?,?)", (showID, seasonNum, seasonDir))
    else:
      if currentValue == seasonDir:
        goodlogging.Log.Info("DB", "A matching entry already exists in the SeasonDir table", verbosity=self.logVerbosity)
      else:
        goodlogging.Log.Fatal("DB", "A different entry already exists in the SeasonDir table")
Add entry to SeasonDir table. If a different entry for season directory
    is found for the given show id and season number combination this raises
    a fatal error.

    Parameters
    ----------
      showID : int
        Show id.

      seasonNum : int
        Season number.

      seasonDir : string
        Season directory name.