diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 72d9653f3..242475db6 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -1657,7 +1657,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)) @@ -1672,6 +1672,34 @@ int CEpgData::showIMDb(bool splash) txt.clear(); imdb->getIMDbData(txt); processTextToArray(" ", 0, imdb->gotPoster()); // empty line to get space for the rating stars + // 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();