diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 126cc8b21..5a8deec63 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -51,6 +51,7 @@ #include #include #include +#include #include #include @@ -651,7 +652,11 @@ int CChannelList::show() } } else if(!edit_state && !empty && msg == CRCInput::RC_stop ) { //stop recording - if(CRecordManager::getInstance()->RecordingStatus((*chanlist)[selected]->channel_id)) + //if(CRecordManager::getInstance()->RecordingStatus((*chanlist)[selected]->channel_id)) + int recmode = CRecordManager::getInstance()->GetRecordMode((*chanlist)[selected]->channel_id); + bool timeshift = recmode & CRecordManager::RECMODE_TSHIFT; + bool tsplay = CMoviePlayerGui::getInstance().timeshift; + if (recmode && !(timeshift && tsplay)) { if (CRecordManager::getInstance()->AskToStop((*chanlist)[selected]->channel_id)) {