def METHOD_NAME(self):
    """Refresh the slider to match the current time.
    """
    if not self.slider_pressed:
        self.replay_slider.setValue(
            self.player.current_packet_time * MILLISECONDS_PER_SECOND
        )
    self.play_pause.setText("⏸" if self.player.is_playing else "▶")
    self.save_clip.setText(
        "Save\nClip"
        if self.clipping and self.player.current_packet_time > self.clip_start
        else "Start\nClip"
    )