  
          if self.src_format == "dfl":
              self.set_destination_serializer()
              return
  
          self.serializer = Serializer.get_serializer_from_ext(
              self.src_format)
          self.alignments = self.load()
          self.count = len(self.alignments)
  
          self.set_destination_serializer()
          if self.verbose:
              print("{} items loaded".format(self.count))
  
      def check_file_exists(self):
          """ Check the alignments file exists"""
 
</s> remove             print("{} items loaded".format(self.count))
 </s> add             print("{} items loaded".format(self.frames_count)) </s> remove     def check_file_exists(self):
 </s> add     @staticmethod
    def check_file_exists(alignments_file, verbose): </s> remove         self.file = alignments_file
        self.verbose = verbose

        self.check_file_exists()
        self.src_format = self.get_source_format()
        self.dst_format = self.get_destination_format(destination_format)

        if self.src_format == "dfl":
            self.set_destination_serializer()
 </s> add         folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format) </s> remove         if os.path.split(self.file.lower())[1] == "dfl":
            self.file = "dfl"
        if self.file.lower() == "dfl":
 </s> add         folder, filename = os.path.split(alignments_file)
        if filename.lower() == "dfl":
            folder = None
            filename = "dfl" </s> remove         if self.alignments.src_format == "dfl":
 </s> add         if self.alignments.file == "dfl":
        super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format)
  
          if self.src_format == "dfl":
              self.set_destination_serializer()
              return
        super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format)
        super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format)
        super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format)
        super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format)
        super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format)
        super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format)
        super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format)
          if self.verbose:
              print("{} items loaded".format(self.count))
  
      def check_file_exists(self):
          """ Check the alignments file exists"""
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 Fix convert-adjust (#531)

* Add dimensions to alignments + refactor

* Add frame_dims + funcs to DetectFaces. Add alignments lib

* Convert Adjust working

* Refactor and tidy up 
tools/lib_alignments/media.py