mpv_command_string method

int mpv_command_string(
  1. Pointer<mpv_handle> ctx,
  2. Pointer<Int8> args
)

Same as mpv_command, but use input.conf parsing for splitting arguments. This is slightly simpler, but also more error prone, since arguments may need quoting/escaping.

This also has OSD and string expansion enabled by default.

Implementation

int mpv_command_string(
  ffi.Pointer<mpv_handle> ctx,
  ffi.Pointer<ffi.Int8> args,
) {
  return _mpv_command_string(
    ctx,
    args,
  );
}