code: def _GetDatabaseConfig(self):
      
      goodlogging.Log.Seperator()
      goodlogging.Log.Info("CLEAR", "Getting configuration variables...")
      goodlogging.Log.IncreaseIndent()
  
      # SOURCE DIRECTORY
      if self._sourceDir is None:
        self._sourceDir = self._GetConfigValue('SourceDir', 'source directory')
  
      # TV DIRECTORY
      if self._inPlaceRename is False and self._tvDir is None:
        self._tvDir = self._GetConfigValue('TVDir', 'tv directory')
  
      # ARCHIVE DIRECTORY
      self._archiveDir = self._GetConfigValue('ArchiveDir', 'archive directory', isDir = False)
  
      # SUPPORTED FILE FORMATS
      self._supportedFormatsList = self._GetSupportedFormats()
  
      # IGNORED DIRECTORIES
      self._ignoredDirsList = self._GetIgnoredDirs()
  
      goodlogging.Log.NewLine()
      goodlogging.Log.Info("CLEAR", "Configuation is:")
      goodlogging.Log.IncreaseIndent()
      goodlogging.Log.Info("CLEAR", "Source directory = {0}".format(self._sourceDir))
      goodlogging.Log.Info("CLEAR", "TV directory = {0}".format(self._tvDir))
      goodlogging.Log.Info("CLEAR", "Supported formats = {0}".format(self._supportedFormatsList))
      goodlogging.Log.Info("CLEAR", "Ignored directory list = {0}".format(self._ignoredDirsList))
      goodlogging.Log.ResetIndent()
docs: Get all configuration from database.
  
      This includes values from the Config table as well as populating lists
      for supported formats and ignored directories from their respective
      database tables.