From 91489c946689763c36e4d720d6048037252818f7 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Fri, 1 Mar 2024 17:38:35 -0600 Subject: options: add --input-commands option Basically a simple way to perform any command/property action from the command line. This takes the exact same syntax as input.conf but not including the key naturally. Potentially useful for weird properties that don't map well to options (like ao-volume). Fixes #12353. --- options/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 4d3d988789..69a50b3350 100644 --- a/options/options.h +++ b/options/options.h @@ -256,6 +256,7 @@ typedef struct MPOpts { char *osd_status_msg; char *osd_msg[3]; int player_idle_mode; + char **input_commands; bool consolecontrols; int playlist_pos; struct m_rel_time play_start; -- cgit v1.2.3