disable new tmdb code; we use imdb

Origin commit data
------------------
Branch: ni/coolstream
Commit: a05c67187f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-07-31 (Sun, 31 Jul 2016)

Origin message was:
------------------
- disable new tmdb code; we use imdb

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-07-31 16:33:36 +02:00
parent bc3485e0f0
commit dc943d450e
5 changed files with 12 additions and 0 deletions

View File

@@ -518,6 +518,7 @@ bool CEpgData::isCurrentEPG(const t_channel_id channel_id)
return false;
}
#if 0
int CEpgData::show_mp(MI_MOVIE_INFO *mp_movie_info, int /*mp_position*/, int /*mp_duration*/, bool doLoop)
{
int res = menu_return::RETURN_REPAINT;
@@ -550,6 +551,7 @@ int CEpgData::show_mp(MI_MOVIE_INFO *mp_movie_info, int /*mp_position*/, int /*m
mp_movie_info->epgInfo2 = epgTextSwitch;
return res;
}
#endif
int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_startzeit, bool doLoop, bool callFromfollowlist,bool mp_info )
{

View File

@@ -111,7 +111,9 @@ class CEpgData
~CEpgData();
void start( );
int show(const t_channel_id channel_id, uint64_t id = 0, time_t* startzeit = NULL, bool doLoop = true, bool callFromfollowlist = false, bool mp_info = false );
#if 0
int show_mp(MI_MOVIE_INFO *mp_movie_info, int mp_position = 1, int mp_duration = 1, bool doLoop = true);
#endif
void hide();
};

View File

@@ -1077,6 +1077,7 @@ void CInfoViewer::loop(bool show_dot)
g_RCInput->postMsg (msg, 0);
res = messages_return::cancel_info;
} else if (msg == CRCInput::RC_info) { //NI
#if 0
if (fileplay)
{
CMoviePlayerGui::getInstance().setFromInfoviewer(true);
@@ -1084,6 +1085,7 @@ void CInfoViewer::loop(bool show_dot)
hideIt = true;
}
else
#endif
g_RCInput->postMsg (NeutrinoMessages::SHOW_EPG, 0);
res = messages_return::cancel_info;
} else if ((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetFadeTimer())) {

View File

@@ -1953,6 +1953,7 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
unlink(fname.c_str());
refresh();
}
#if 0
}else if (g_settings.tmdb_api_key != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"){
//add TMDB Cover
fname = m_movieSelectionHandler->file.Name.c_str();
@@ -1973,6 +1974,7 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
if (tmdb)
delete tmdb;
}
#endif
}
}
}
@@ -2042,9 +2044,11 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
{
if (m_movieSelectionHandler != NULL)
{
#if 0
if (m_settings.gui == MB_GUI_MOVIE_INFO && m_windowFocus == MB_FOCUS_MOVIE_INFO)
g_EpgData->show_mp(m_movieSelectionHandler,0,0);
else
#endif
m_movieInfo.showMovieInfo(*m_movieSelectionHandler);
refresh();
}

View File

@@ -1560,12 +1560,14 @@ void CMoviePlayerGui::PlayFileLoop(void)
SetPosition(1000 * (hh * 3600 + mm * 60 + ss), true);
} else if (msg == CRCInput::RC_help || msg == CRCInput::RC_info) {
#if 0
if (fromInfoviewer)
{
g_EpgData->show_mp(p_movie_info,GetPosition(),GetDuration());
fromInfoviewer = false;
}
else
#endif
callInfoViewer();
update_lcd = true;
clearSubtitle();