mpv_command

Send a command to the player. Commands are the same as those used in input.conf, except that this function takes parameters in a pre-split form.

The commands and their parameters are documented in input.rst.

Does not use OSD and string expansion by default (unlike mpv_command_string() and input.conf).

@paramin args NULL-terminated list of strings. Usually, the first item is the command, and the following items are arguments. @return error code

extern (C)
int
mpv_command
(,
const(char*)* args
)

Meta