- timeshift: small renamings in timeshift action keys

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-01-15 21:32:08 +01:00
committed by Thilo Graf
parent 578b53cf65
commit d338be9526
3 changed files with 4 additions and 4 deletions

View File

@@ -1358,7 +1358,7 @@ void CRecordManager::StartTimeshift()
{ {
if(g_RemoteControl->is_video_started) if(g_RemoteControl->is_video_started)
{ {
std::string tmode = "ptimeshift"; // already recording, pause std::string tmode = "timeshift_pause"; // already recording, pause
bool res = true; bool res = true;
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID(); t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
// bool tstarted = false; // bool tstarted = false;

View File

@@ -428,10 +428,10 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
else if (actionKey == "timeshift") { else if (actionKey == "timeshift") {
timeshift = TSHIFT_MODE_ON; timeshift = TSHIFT_MODE_ON;
} }
else if (actionKey == "ptimeshift") { else if (actionKey == "timeshift_pause") {
timeshift = TSHIFT_MODE_PAUSE; timeshift = TSHIFT_MODE_PAUSE;
} }
else if (actionKey == "rtimeshift") { else if (actionKey == "timeshift_rewind") {
timeshift = TSHIFT_MODE_REWIND; timeshift = TSHIFT_MODE_REWIND;
} }
#if 0 // TODO ? #if 0 // TODO ?

View File

@@ -3030,7 +3030,7 @@ void CNeutrinoApp::RealRun()
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))
CMoviePlayerGui::getInstance().exec(NULL, "rtimeshift"); CMoviePlayerGui::getInstance().exec(NULL, "timeshift_rewind");
} }
} }
else if( msg == CRCInput::RC_stop) { else if( msg == CRCInput::RC_stop) {