From a7d7f89626c58770e0db005a5d166c64bff55ceb Mon Sep 17 00:00:00 2001 From: focus Date: Fri, 23 Dec 2011 15:03:15 +0000 Subject: [PATCH] Fix record/TS icon: in case timeshift started when record running, menu/infobar etc show TS while its not git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1990 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/driver/record.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index da0f8dcf8..f9d29839a 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -1133,7 +1133,8 @@ void CRecordManager::StartTimeshift() if(RecordingStatus(live_channel_id)) { tmode = "ptimeshift"; // already recording, pause - SetTimeshiftMode(FindInstance(live_channel_id), TSHIFT_MODE_PAUSE); + if(GetRecordMode(live_channel_id) == RECMODE_TSHIFT) + SetTimeshiftMode(FindInstance(live_channel_id), TSHIFT_MODE_PAUSE); }else { if(g_settings.temp_timeshift)