code: def updateProgress(self, time, state='stopped'):
          
          key = '/:/progress?key=%s&identifier=com.plexapp.plugins.library&time=%d&state=%s' % (self.ratingKey,
                                                                                                time, state)
          self._server.query(key)
          self.reload()
docs: Set the watched progress for this video.
  
          Note that setting the time to 0 will not work.
          Use `markWatched` or `markUnwatched` to achieve
          that goal.
  
              Parameters:
                  time (int): milliseconds watched
                  state (string): state of the video, default 'stopped'