command: add an ab_loop command

As suggested in #1241; to make using the feature easier.

Also add better OSD-formatting for the ab-loop-a/b properties.
This commit is contained in:
wm4
2014-11-18 21:33:15 +01:00
parent 5d1a3fb406
commit 534b08e6ba
5 changed files with 31 additions and 2 deletions

View File

@@ -155,6 +155,8 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_DISCNAV, "discnav", { ARG_STRING } },
{ MP_CMD_AB_LOOP, "ab_loop", },
{ MP_CMD_AF, "af", { ARG_STRING, ARG_STRING } },
{ MP_CMD_AO_RELOAD, "ao_reload", },