mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
gui/movieinfo: don't show epgInfo2 if it equals epgInfo1
This commit is contained in:
@@ -397,8 +397,10 @@ void CMovieInfo::showMovieInfo(MI_MOVIE_INFO & movie_info)
|
|||||||
{
|
{
|
||||||
std::string print_buffer = movie_info.epgInfo1;
|
std::string print_buffer = movie_info.epgInfo1;
|
||||||
print_buffer += "\n";
|
print_buffer += "\n";
|
||||||
print_buffer += movie_info.epgInfo2;
|
if (movie_info.epgInfo1 != movie_info.epgInfo2) {
|
||||||
print_buffer += "\n";
|
print_buffer += movie_info.epgInfo2;
|
||||||
|
print_buffer += "\n";
|
||||||
|
}
|
||||||
|
|
||||||
if ( !movie_info.productionCountry.empty() || movie_info.productionDate != 0) {
|
if ( !movie_info.productionCountry.empty() || movie_info.productionDate != 0) {
|
||||||
print_buffer += movie_info.productionCountry;
|
print_buffer += movie_info.productionCountry;
|
||||||
|
Reference in New Issue
Block a user