From aec6fb88ef9ab6a9496241a746411e503c58883d Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 16 Mar 2019 21:26:13 +0100 Subject: [PATCH] streaminfo2: add real channelname if it differs to channelname (part 2) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b06e8eccd207ca5c155d491e0e283fb03fc005f8 Author: vanhofen Date: 2019-03-16 (Sat, 16 Mar 2019) Origin message was: ------------------ - streaminfo2: add real channelname if it differs to channelname (part 2) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/streaminfo2.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 7043511b8..b883b685f 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -870,7 +870,6 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos) r.val += " << "; r.val += channel->getRealname().c_str(); } - v.push_back(r); // url @@ -908,6 +907,11 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos) r.key = g_Locale->getText(LOCALE_TIMERLIST_CHANNEL); r.key += ": "; r.val = channel->getName().c_str(); + if (channel->getName() != channel->getRealname()) + { + r.val += " << "; + r.val += channel->getRealname().c_str(); + } v.push_back(r); // provider