def repeat(mode):
message = command(protobuf.CommandInfo_pb2.ChangeShuffleMode)<EOL>send_command = message.inner()<EOL>send_command.options.externalPlayerCommand = True<EOL>send_command.options.repeatMode = mode<EOL>return message<EOL>
Change repeat mode of current player.