From df99864f41f5b9e00758ebede613742c1189e00b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 16 Mar 2019 21:15:47 +0100 Subject: [PATCH] streaminfo2: add real channelname if it differs to channelname Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9205158812bf5fa04a9a89f8f20b7b087182c2fe Author: vanhofen Date: 2019-03-16 (Sat, 16 Mar 2019) Origin message was: ------------------ - streaminfo2: add real channelname if it differs to channelname ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/streaminfo2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 1920a16e3..7043511b8 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -865,6 +865,12 @@ 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); // url