set_shuffle_mode

music.set_shuffle_mode(mode: int)

Sets the shuffle mode of the music player.

Parameters:

mode – The shuffle mode to set. See Shuffle Mode for possible values.