set_repeat_mode

music.set_repeat_mode(mode: int)

Sets the repeat mode of the music player.

Parameters:

mode – The repeat mode to set. See Repeat Mode for possible values.