mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
neutrino.cpp: allow record/timeshift for webtv channel
This commit is contained in:
@@ -2327,9 +2327,11 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
|
|||||||
numericZap( msg );
|
numericZap( msg );
|
||||||
}
|
}
|
||||||
else if(msg == (neutrino_msg_t) g_settings.key_timeshift) {
|
else if(msg == (neutrino_msg_t) g_settings.key_timeshift) {
|
||||||
|
#if 0
|
||||||
if (mode == mode_webtv) {
|
if (mode == mode_webtv) {
|
||||||
CMoviePlayerGui::getInstance().Pause();
|
CMoviePlayerGui::getInstance().Pause();
|
||||||
} else
|
} else
|
||||||
|
#endif
|
||||||
CRecordManager::getInstance()->StartTimeshift();
|
CRecordManager::getInstance()->StartTimeshift();
|
||||||
}
|
}
|
||||||
else if (msg == (neutrino_msg_t) g_settings.key_current_transponder) {
|
else if (msg == (neutrino_msg_t) g_settings.key_current_transponder) {
|
||||||
@@ -2359,7 +2361,7 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else if( msg == (neutrino_msg_t) g_settings.key_record && (mode != mode_webtv)) {
|
else if( msg == (neutrino_msg_t) g_settings.key_record /* && (mode != mode_webtv) */) {
|
||||||
if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF)
|
if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF)
|
||||||
CRecordManager::getInstance()->exec(NULL, "Record");
|
CRecordManager::getInstance()->exec(NULL, "Record");
|
||||||
}
|
}
|
||||||
@@ -2425,7 +2427,7 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
|
|||||||
else if( msg == CRCInput::RC_page_up || msg == CRCInput::RC_page_down) {
|
else if( msg == CRCInput::RC_page_up || msg == CRCInput::RC_page_down) {
|
||||||
quickZap(msg == CRCInput::RC_page_up ? CRCInput::RC_right : CRCInput::RC_left);
|
quickZap(msg == CRCInput::RC_page_up ? CRCInput::RC_right : CRCInput::RC_left);
|
||||||
}
|
}
|
||||||
else if(msg == CRCInput::RC_rewind && (mode != mode_webtv)) {
|
else if(msg == CRCInput::RC_rewind /* && (mode != mode_webtv) */) {
|
||||||
if(g_RemoteControl->is_video_started) {
|
if(g_RemoteControl->is_video_started) {
|
||||||
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
|
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
|
||||||
if(CRecordManager::getInstance()->RecordingStatus(live_channel_id))
|
if(CRecordManager::getInstance()->RecordingStatus(live_channel_id))
|
||||||
|
Reference in New Issue
Block a user