<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def AddShowToTVLibrary(self, showName):
 """ Add show to TVLibrary table. If the show already exists in the table a fatal error is raised. Parameters showName : string Show name to add to TV library table. Returns int Unique show id generated for show when it is added to the table. Used across the database to reference this show. """

    goodlogging.Log.Info("DB", "Adding {0} to TV library".format(showName), verbosity=self.logVerbosity)

    currentShowValues = self.SearchTVLibrary(showName = showName)

    if currentShowValues is None:
      self._ActionDatabase("INSERT INTO TVLibrary (ShowName) VALUES (?)", (showName, ))
      showID = self._ActionDatabase("SELECT (ShowID) FROM TVLibrary WHERE ShowName=?", (showName, ))[0][0]
      return showID
    else:
      goodlogging.Log.Fatal("DB", "An entry for {0} already exists in the TV library".format(showName))