          dst_fmt = None
  
          if destination_format is not None:
              dst_fmt = destination_format
          elif self.src_format == "dfl":
              dst_fmt = "json"
          elif self.src_format in extensions.keys():
              dst_fmt = extensions[self.src_format]
          else:
              print("{} is not a supported serializer. "
 
</s> remove         elif self.src_format in extensions.keys():
            dst_fmt = extensions[self.src_format]
 </s> add         elif file_ext in extensions.keys():
            dst_fmt = extensions[file_ext] </s> remove                   "Exiting".format(self.src_format))
 </s> add                   "Exiting".format(file_ext)) </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):
        elif self.file == "dfl":
          dst_fmt = None
  
          if destination_format is not None:
              dst_fmt = destination_format
        elif self.file == "dfl":
              dst_fmt = "json"
          elif self.src_format in extensions.keys():
              dst_fmt = extensions[self.src_format]
          else:
              print("{} is not a supported serializer. "
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