mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -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;
|
||||
|
@@ -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
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user