diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 0049ea8b1..5d05a4728 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -1686,7 +1686,7 @@ int CEpgData::showIMDb(bool splash) return 0; } - //titel + //title std::string title = imdb->getIMDbElement("Title"); if(((title.find(imdb->search_error)) != std::string::npos)) @@ -1700,6 +1700,35 @@ int CEpgData::showIMDb(bool splash) std::string txt; txt.clear(); imdb->getIMDbData(txt); + + // create mp_movie_info->epgInfo2 + if (imdb->checkIMDbElement("Plot")) + { + epgTextSwitch = imdb->getIMDbElement("Plot") + "\n"; + if (imdb->checkIMDbElement("Title")) + { + epgTextSwitch += "\n"; + epgTextSwitch += g_Locale->getString(LOCALE_IMDB_DATA_TITLE) + ": "; + epgTextSwitch += imdb->getIMDbElement("Title"); + } + if (imdb->checkIMDbElement("Country")) + { + epgTextSwitch += "\n"; + epgTextSwitch += g_Locale->getString(LOCALE_IMDB_DATA_RELEASED) + ": "; + epgTextSwitch += imdb->getIMDbElement("Country"); + if (imdb->checkIMDbElement("Released")) + { + epgTextSwitch += ", " + imdb->getIMDbElement("Released"); + } + } + if (imdb->checkIMDbElement("Actors")) + { + epgTextSwitch += "\n"; + epgTextSwitch += g_Locale->getString(LOCALE_IMDB_DATA_ACTORS) + ": "; + epgTextSwitch += imdb->getIMDbElement("Actors"); + } + } + processTextToArray(txt, 0, imdb->gotPoster()); textCount = epgText.size();