timeshift: small renamings in timeshift action keys

Origin commit data
------------------
Commit: ab38c21a03
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-15 (Tue, 15 Jan 2019)

Origin message was:
------------------
- timeshift: small renamings in timeshift action keys
This commit is contained in:
vanhofen
2019-01-15 21:32:08 +01:00
parent 63dd81ecf7
commit e2f412b016
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@@ -3211,7 +3211,7 @@ void CNeutrinoApp::RealRun()
if(g_RemoteControl->is_video_started) {
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
if(CRecordManager::getInstance()->RecordingStatus(live_channel_id))
CMoviePlayerGui::getInstance().exec(NULL, "rtimeshift");
CMoviePlayerGui::getInstance().exec(NULL, "timeshift_rewind");
}
}
else if( msg == CRCInput::RC_stop) {