mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- movieplayer: fix RC_ok handling while infoviewer is displayed; ...
If filelist is empty or movie in filelist wasn't changed, just quit infoviewer as in tv-mode. Otherwise start choosen movie. Signed-off-by: Thilo Graf <dbt@novatux.de> # Conflicts: # src/gui/movieplayer.cpp
This commit is contained in:
@@ -1646,11 +1646,14 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
}
|
||||
} else if (msg == (neutrino_msg_t) g_settings.key_quickzap_up || msg == (neutrino_msg_t) g_settings.key_quickzap_down) {
|
||||
quickZap(msg);
|
||||
} else if (fromInfoviewer && msg == CRCInput::RC_ok && !filelist.empty()) {
|
||||
printf("CMoviePlayerGui::%s: start playlist movie #%d\n", __func__, (int)(vzap_it - filelist.begin()));
|
||||
} else if (fromInfoviewer && msg == CRCInput::RC_ok) {
|
||||
if (!filelist.empty() && (filelist_it != vzap_it))
|
||||
{
|
||||
printf("CMoviePlayerGui::%s: start playlist movie #%d\n", __func__, (int)(vzap_it - filelist.begin()));
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
filelist_it = vzap_it;
|
||||
}
|
||||
fromInfoviewer = false;
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
filelist_it = vzap_it;
|
||||
} else if (timeshift == TSHIFT_MODE_OFF && !isWebChannel /* && !isYT */ && (msg == (neutrino_msg_t) g_settings.mpkey_next_repeat_mode)) {
|
||||
repeat_mode = (repeat_mode_enum)((int)repeat_mode + 1);
|
||||
if (repeat_mode > (int) REPEAT_ALL)
|
||||
|
Reference in New Issue
Block a user