From c9d78e1a9c814625d3daadff61d9074e5bcdd55e Mon Sep 17 00:00:00 2001 From: martii Date: Sun, 6 Jul 2014 08:28:38 +0200 Subject: [PATCH] driver/record: auto-terminate temporary timeshift recordings --- src/driver/record.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index 12bfc3e20..5c2eae786 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -1274,7 +1274,9 @@ void CRecordManager::StartTimeshift() if(res) { CMoviePlayerGui::getInstance().exec(NULL, tmode); - if(g_settings.temp_timeshift && !g_settings.auto_timeshift && autoshift) + if(g_settings.temp_timeshift) + Stop(live_channel_id); + else if (!(g_settings.auto_timeshift && autoshift)) ShowMenu(); } }