mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- movieplayer/record: try to fix timeshift stop; ...
Timeshift was stopped immediately when mpkey_stop was pressed. After that the record/timeshift menu was shown, but is wasn't possilble to return to timeshift record. Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1629,9 +1629,17 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
} else if ((msg == (neutrino_msg_t) g_settings.mpkey_stop) || msg == CRCInput::RC_home) {
|
||||
#endif
|
||||
} else if (msg == (neutrino_msg_t) g_settings.mpkey_stop) {
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
keyPressed = CMoviePlayerGui::PLUGIN_PLAYSTATE_STOP;
|
||||
ClearQueue();
|
||||
bool timeshift_stopped = false;
|
||||
|
||||
if (timeshift != TSHIFT_MODE_OFF)
|
||||
timeshift_stopped = CRecordManager::getInstance()->ShowMenu();
|
||||
|
||||
if (timeshift == TSHIFT_MODE_OFF || timeshift_stopped)
|
||||
{
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
keyPressed = CMoviePlayerGui::PLUGIN_PLAYSTATE_STOP;
|
||||
ClearQueue();
|
||||
}
|
||||
} else if (msg == CRCInput::RC_left || msg == CRCInput::RC_right) {
|
||||
bool reset_vzap_it = true;
|
||||
switch (g_settings.mode_left_right_key_tv)
|
||||
|
Reference in New Issue
Block a user