summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/input.rst5
-rw-r--r--player/command.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index f2efd080b8..36486bedac 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -618,9 +618,8 @@ Input Commands that are Possibly Subject to Change
unseekable streams that are going out of sync.
This command might be changed or removed in the future.
-Undocumented commands: ``tv_last_channel`` (TV/DVB only), ``get_property`` (?),
-``ao_reload`` (experimental/internal).
-
+Undocumented commands: ``tv_last_channel`` (TV/DVB only),
+``get_property`` (deprecated), ``ao_reload`` (experimental/internal).
Hooks
~~~~~
diff --git a/player/command.c b/player/command.c
index 07a9206b53..8e3d38ebfe 100644
--- a/player/command.c
+++ b/player/command.c
@@ -4328,6 +4328,10 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd)
}
MP_INFO(mpctx, "ANS_%s=%s\n", cmd->args[0].v.s, tmp);
talloc_free(tmp);
+ MP_WARN(mpctx, "The get_property command is deprecated and "
+ "will be removed in the next release.\n"
+ "Use libmpv or the JSON IPC. "
+ "(Or print_text, if you must.)");
break;
}