mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 14:48:28 +02:00
movieplayer: minor changes in commented code
Origin commit data
------------------
Branch: ni/coolstream
Commit: 58afdfdff1
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-30 (Sat, 30 Dec 2017)
Origin message was:
------------------
- movieplayer: minor changes in commented code
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -443,7 +443,8 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
|
|||||||
else if (actionKey == "rtimeshift") {
|
else if (actionKey == "rtimeshift") {
|
||||||
timeshift = TSHIFT_MODE_REWIND;
|
timeshift = TSHIFT_MODE_REWIND;
|
||||||
}
|
}
|
||||||
#if 0 // TODO ?
|
#if 0
|
||||||
|
// TODO - not supported
|
||||||
else if (actionKey == "bookmarkplayback") {
|
else if (actionKey == "bookmarkplayback") {
|
||||||
isBookmark = true;
|
isBookmark = true;
|
||||||
}
|
}
|
||||||
@@ -740,9 +741,8 @@ bool CMoviePlayerGui::SelectFile()
|
|||||||
}
|
}
|
||||||
|
|
||||||
printf("CMoviePlayerGui::SelectFile: isBookmark %d timeshift %d isMovieBrowser %d is_audio_playing %d\n", isBookmark, timeshift, isMovieBrowser, is_audio_playing);
|
printf("CMoviePlayerGui::SelectFile: isBookmark %d timeshift %d isMovieBrowser %d is_audio_playing %d\n", isBookmark, timeshift, isMovieBrowser, is_audio_playing);
|
||||||
#if 0
|
//wakeup_hdd(g_settings.network_nfs_recordingdir.c_str());
|
||||||
wakeup_hdd(g_settings.network_nfs_recordingdir.c_str());
|
|
||||||
#endif
|
|
||||||
if (timeshift != TSHIFT_MODE_OFF) {
|
if (timeshift != TSHIFT_MODE_OFF) {
|
||||||
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
|
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
|
||||||
p_movie_info = CRecordManager::getInstance()->GetMovieInfo(live_channel_id);
|
p_movie_info = CRecordManager::getInstance()->GetMovieInfo(live_channel_id);
|
||||||
@@ -751,7 +751,8 @@ bool CMoviePlayerGui::SelectFile()
|
|||||||
makeFilename();
|
makeFilename();
|
||||||
ret = true;
|
ret = true;
|
||||||
}
|
}
|
||||||
#if 0 // TODO
|
#if 0
|
||||||
|
// TODO - not supported
|
||||||
else if (isBookmark) {
|
else if (isBookmark) {
|
||||||
const CBookmark * theBookmark = bookmarkmanager->getBookmark(NULL);
|
const CBookmark * theBookmark = bookmarkmanager->getBookmark(NULL);
|
||||||
if (theBookmark == NULL) {
|
if (theBookmark == NULL) {
|
||||||
@@ -2597,7 +2598,8 @@ void CMoviePlayerGui::handleMovieBrowser(neutrino_msg_t msg, int /*position*/)
|
|||||||
|
|
||||||
CMenuWidget bookStartMenu(LOCALE_MOVIEBROWSER_MENU_MAIN_BOOKMARKS, NEUTRINO_ICON_STREAMING);
|
CMenuWidget bookStartMenu(LOCALE_MOVIEBROWSER_MENU_MAIN_BOOKMARKS, NEUTRINO_ICON_STREAMING);
|
||||||
bookStartMenu.addIntroItems();
|
bookStartMenu.addIntroItems();
|
||||||
#if 0 // not supported, TODO
|
#if 0
|
||||||
|
// TODO - not supported
|
||||||
bookStartMenu.addItem(new CMenuForwarder(LOCALE_MOVIEPLAYER_HEAD, !isMovieBrowser, NULL, &cSelectedMenuBookStart[0]));
|
bookStartMenu.addItem(new CMenuForwarder(LOCALE_MOVIEPLAYER_HEAD, !isMovieBrowser, NULL, &cSelectedMenuBookStart[0]));
|
||||||
bookStartMenu.addItem(GenericMenuSeparatorLine);
|
bookStartMenu.addItem(GenericMenuSeparatorLine);
|
||||||
#endif
|
#endif
|
||||||
@@ -2629,7 +2631,8 @@ void CMoviePlayerGui::handleMovieBrowser(neutrino_msg_t msg, int /*position*/)
|
|||||||
|
|
||||||
// next seems return menu_return::RETURN_EXIT, if something selected
|
// next seems return menu_return::RETURN_EXIT, if something selected
|
||||||
bookStartMenu.exec(NULL, "none");
|
bookStartMenu.exec(NULL, "none");
|
||||||
#if 0 // not supported, TODO
|
#if 0
|
||||||
|
// TODO - not supported
|
||||||
if (cSelectedMenuBookStart[0].selected == true) {
|
if (cSelectedMenuBookStart[0].selected == true) {
|
||||||
/* Movieplayer bookmark */
|
/* Movieplayer bookmark */
|
||||||
if (bookmarkmanager->getBookmarkCount() < bookmarkmanager->getMaxBookmarkCount()) {
|
if (bookmarkmanager->getBookmarkCount() < bookmarkmanager->getMaxBookmarkCount()) {
|
||||||
|
Reference in New Issue
Block a user