code: def update_video(self):
          
          window_start = self.parent.value('window_start')
          window_length = self.parent.value('window_length')
          d = self.parent.info.dataset
  
          videos, begsec, endsec = d.read_videos(window_start,
                                                 window_start + window_length)
          
          lg.debug(f'Video: {begsec} - {endsec}')
          self.endsec = endsec
          videos = [str(v) for v in videos]  # make sure it's a str (not path)
          medialist = vlc.MediaList(videos)
          self.medialistplayer.set_media_list(medialist)
  
          self.cnt_video = 0
          self.n_video = len(videos)
  
          self.t = QTimer()
          self.t.timeout.connect(self.check_if_finished)
          self.t.start(100)
  
          self.medialistplayer.play()
          self.mediaplayer.set_time(int(begsec * 1000))
docs: Read list of files, convert to video time, and add video to queue.