imdb/tmdb: more unifications; setTitle()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5d2ede622f
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-03 (Mon, 03 May 2021)

Origin message was:
------------------
- imdb/tmdb: more unifications; setTitle()

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-05-03 01:00:35 +02:00
parent 249c1d6aca
commit 54552558ce
10 changed files with 31 additions and 19 deletions

View File

@@ -1228,8 +1228,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
{
//show IMDb info
imdb_active = true;
showIMDb(true); //show splashscreen only
imdb->getMovieDetails(epgData.title);
imdb->setTitle(epgData.title);
showIMDb();
showTimerEventBar(true, !mp_info && isCurrentEPG(channel_id), mp_info); //show buttons
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
@@ -1669,17 +1668,8 @@ void CEpgData::showTimerEventBar (bool pshow, bool adzap, bool mp_info)
}
//imdb start
int CEpgData::showIMDb(bool splash)
int CEpgData::showIMDb()
{
fontIMDb = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO1];
frameBuffer->paintBoxRel(sx, sy+toph, ox /*- 15*/, sb, COL_MENUCONTENT_PLUS_0);
if (splash)
{
fontIMDb->RenderString(sx+OFFSET_INNER_MID, sy+toph+medlineheight, ox-OFFSET_INNER_MID, "IMDb: Daten werden geladen ...", COL_MENUCONTENT_TEXT, 0, true);
return 0;
}
//title
std::string title = imdb->getIMDbElement("Title");