          if self._images.is_video:
              minframe, maxframe = 1, self._images.images_found
          else:
              indices = [int(self._imageidxre.findall(os.path.basename(filename))[0])
                         for filename in self._images.input_images]
              if indices:
                  minframe, maxframe = min(indices), max(indices)
          logger.debug("minframe: %s, maxframe: %s", minframe, maxframe)
  
          if minframe is None or maxframe is None:
 
</s> remove             minframe, maxframe = 1, self._images.images_found
 </s> add             minframe, maxframe = 1, self._images.count </s> remove         if not self._args.timelapse_input_a or not self._args.timelapse_input_b:
            raise ValueError("To enable the timelapse, you have to supply "
                             "all the parameters (--timelapse-input-A and "
                             "--timelapse-input-B).")

        timelapse_output = None
        if self._args.timelapse_output is not None:
            timelapse_output = str(get_folder(self._args.timelapse_output))

        for folder in (self._args.timelapse_input_a,
                       self._args.timelapse_input_b,
                       timelapse_output):
            if folder is not None and not os.path.isdir(folder):
                raise ValueError("The Timelapse path '{}' does not exist".format(folder))
 </s> add         if (not self._args.timelapse_input_a or
                not self._args.timelapse_input_b or
                not self._args.timelapse_output):
            raise FaceswapError("To enable the timelapse, you have to supply all the parameters "
                                "(--timelapse-input-A, --timelapse-input-B and "
                                "--timelapse-output).") </s> remove             retval = self._images.images_found
 </s> add             retval = self._images.count </s> remove         # Set executable based on whether previewing or not
        if self.args.preview and self.args.action in self._actions_can_preview:
            self.exe = 'ffplay'
            self.output = DataItem()

 </s> add 
                       for filename in self._images.file_list]
          if self._images.is_video:
              minframe, maxframe = 1, self._images.images_found
          else:
              indices = [int(self._imageidxre.findall(os.path.basename(filename))[0])
                       for filename in self._images.file_list]
              if indices:
                  minframe, maxframe = min(indices), max(indices)
          logger.debug("minframe: %s, maxframe: %s", minframe, maxframe)
  
          if minframe is None or maxframe is None:
keep keep keep keep replace keep keep keep keep keep
 Bugfixes and minor updates:
  - Remove preview option from effmpeg tool
  - Remove json filetypes from GUI for alignments files
  - Capture and raise empty timelapse folder errors
  - Move convert to use centralized ImagesLoader 
scripts/convert.py