mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- movieplayer: remove NeutrinoMessages::SHOW_EPG handling from handleMovieBrowser() function
This isn't any moviebrowser function. Use showMovieInfo() instead of this. Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1916,7 +1916,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
|||||||
update_lcd = true;
|
update_lcd = true;
|
||||||
#endif
|
#endif
|
||||||
} else if (msg == NeutrinoMessages::SHOW_EPG) {
|
} else if (msg == NeutrinoMessages::SHOW_EPG) {
|
||||||
handleMovieBrowser(NeutrinoMessages::SHOW_EPG, position);
|
showMovieInfo();
|
||||||
} else if (msg == NeutrinoMessages::EVT_SUBT_MESSAGE) {
|
} else if (msg == NeutrinoMessages::EVT_SUBT_MESSAGE) {
|
||||||
showSubtitle(data);
|
showSubtitle(data);
|
||||||
} else if (msg == NeutrinoMessages::ANNOUNCE_RECORD ||
|
} else if (msg == NeutrinoMessages::ANNOUNCE_RECORD ||
|
||||||
@@ -2571,10 +2571,6 @@ void CMoviePlayerGui::handleMovieBrowser(neutrino_msg_t msg, int /*position*/)
|
|||||||
cMovieInfo.saveMovieInfo(*p_movie_info); /* save immediately in xml file */
|
cMovieInfo.saveMovieInfo(*p_movie_info); /* save immediately in xml file */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (msg == NeutrinoMessages::SHOW_EPG && p_movie_info) {
|
|
||||||
disableOsdElements(NO_MUTE);
|
|
||||||
g_EpgData->show_mp(p_movie_info, position, duration);
|
|
||||||
enableOsdElements(NO_MUTE);
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user