We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting a feel for the api with the simple example but my attempts at loading scripts have not worked. I've tried the following
check_error(mpv_set_option_string(ctx, "config-dir", "/home/anon/.config/mpv")); check_error(mpv_set_option_string(ctx, "load-scripts", "yes"));
but to no avail. Will I really need to pass each script from the directory manually like so?
for (int i = 0; i < argc; ++i) check_error(mpv_set_option_string(ctx, "script", argv[i]));
(assuming **argv is an array of script files)
**argv
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm getting a feel for the api with the simple example but my attempts at loading scripts have not worked. I've tried the following
but to no avail. Will I really need to pass each script from the directory manually like so?
(assuming
**argv
is an array of script files)The text was updated successfully, but these errors were encountered: