  
  
  class MediaLoader():
      """ Class to load filenames from folder """
      def __init__(self, folder, verbose):
          print("\n[{} DATA]".format(self.__class__.__name__.upper()))
          self.verbose = verbose
          self.folder = folder
          self.check_folder_exists()
          self.file_list_sorted = self.sorted_items()
          self.items = self.load_items()
          self.count = len(self.file_list_sorted)
 
</s> remove         if self.verbose:
            print("{} items loaded".format(self.count))
 </s> add         logger.verbose("%s items loaded", self.count) </s> remove         self.verbose = arguments.verbose
 </s> add  </s> remove     def check_file_exists(alignments_file, verbose):
 </s> add     def check_file_exists(alignments_file): </s> remove         self.frames = Frames(arguments.frames_dir, self.verbose)
 </s> add         self.frames = Frames(arguments.frames_dir) </s> remove     def __init__(self, alignments_file, destination_format, verbose):
        print("\n[ALIGNMENT DATA]")  # Tidy up cli output
        folder, filename = self.check_file_exists(alignments_file, verbose)
 </s> add     def __init__(self, alignments_file, destination_format):
        logger.info("[ALIGNMENT DATA]")  # Tidy up cli output
        folder, filename = self.check_file_exists(alignments_file)
    def __init__(self, folder):
        logger.info("[%s DATA]", self.__class__.__name__.upper())
  
  
  class MediaLoader():
      """ Class to load filenames from folder """
    def __init__(self, folder):
        logger.info("[%s DATA]", self.__class__.__name__.upper())
    def __init__(self, folder):
        logger.info("[%s DATA]", self.__class__.__name__.upper())
    def __init__(self, folder):
        logger.info("[%s DATA]", self.__class__.__name__.upper())
          self.folder = folder
          self.check_folder_exists()
          self.file_list_sorted = self.sorted_items()
          self.items = self.load_items()
          self.count = len(self.file_list_sorted)
keep keep keep keep replace replace replace keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
tools/lib_alignments/media.py