          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"""
          if os.path.split(self.file.lower())[1] == "dfl":
              self.file = "dfl"
 
</s> remove     def check_file_exists(self):
 </s> add     @staticmethod
    def check_file_exists(alignments_file, verbose): </s> remove 
        self.serializer = Serializer.get_serializer_from_ext(
            self.src_format)
        self.alignments = self.load()
        self.count = len(self.alignments)

        self.set_destination_serializer()
 </s> add         super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(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             return
        if not os.path.isfile(self.file):
 </s> add         elif not os.path.isfile(alignments_file): </s> remove     def get_source_format(self):
        """ Get the source alignments format """
        if self.file.lower() == "dfl":
            return "dfl"
        return os.path.splitext(self.file)[1].lower()
 </s> add     def set_dfl(self, verbose, destination_format):
        """ Set the alignments for dfl alignments """
        self.verbose = verbose
        self.file = "dfl"
        self.set_destination_format(destination_format)
            print("{} items loaded".format(self.frames_count))
          self.count = len(self.alignments)
  
          self.set_destination_serializer()
          if self.verbose:
            print("{} items loaded".format(self.frames_count))
  
      def check_file_exists(self):
          """ Check the alignments file exists"""
          if os.path.split(self.file.lower())[1] == "dfl":
              self.file = "dfl"
keep keep keep keep 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