diff options
Diffstat (limited to 'core/command.c')
-rw-r--r-- | core/command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/command.c b/core/command.c index 4831c939c0..72d6f34469 100644 --- a/core/command.c +++ b/core/command.c @@ -1856,6 +1856,12 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) mpctx->quit_player_rc = cmd->args[0].v.i; break; + case MP_CMD_QUIT_WATCH_LATER: + mp_write_watch_later_conf(mpctx); + mpctx->stop_play = PT_QUIT; + mpctx->quit_player_rc = 0; + break; + case MP_CMD_PLAYLIST_NEXT: case MP_CMD_PLAYLIST_PREV: { |