def METHOD_NAME(_, value: Optional[float]):
    on_timepos_change(value)
    if value is None and self._progress_value_count > 1:
        on_track_end()
        with self._progress_value_lock:
            self._progress_value_count = 0
    if value:
        with self._progress_value_lock:
            self._progress_value_count += 1