Skip to content

Commit aa256d1

Browse files
committed
Added missing support for JUMPTODVDCHAPTERMENU and JUMPTODVDTITLEMENU actions.
(cherry picked from commit 19e8d7f)
1 parent 3b43903 commit aa256d1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

mythtv/libs/libmythtv/tv_play.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4865,6 +4865,20 @@ bool TV::ActivePostQHandleAction(PlayerContext *ctx, const QStringList &actions)
48654865
ctx->player->GoToMenu("root");
48664866
ctx->UnlockDeletePlayer(__FILE__, __LINE__);
48674867
}
4868+
else if (has_action(ACTION_JUMPTODVDCHAPTERMENU, actions) && isdisc)
4869+
{
4870+
ctx->LockDeletePlayer(__FILE__, __LINE__);
4871+
if (ctx->player)
4872+
ctx->player->GoToMenu("chapter");
4873+
ctx->UnlockDeletePlayer(__FILE__, __LINE__);
4874+
}
4875+
else if (has_action(ACTION_JUMPTODVDTITLEMENU, actions) && isdisc)
4876+
{
4877+
ctx->LockDeletePlayer(__FILE__, __LINE__);
4878+
if (ctx->player)
4879+
ctx->player->GoToMenu("title");
4880+
ctx->UnlockDeletePlayer(__FILE__, __LINE__);
4881+
}
48684882
else if (has_action(ACTION_JUMPTOPOPUPMENU, actions) && isdisc)
48694883
{
48704884
ctx->LockDeletePlayer(__FILE__, __LINE__);

0 commit comments

Comments
 (0)