mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- timeshift: small renamings in timeshift action keys
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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 ?
|
||||||
|
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user