From db3037839798004eb0de644fa6f3224689f0e8d4 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 16 Mar 2019 21:26:13 +0100 Subject: [PATCH] - streaminfo2: add real channelname if it differs to channelname (part 2) Signed-off-by: Thilo Graf --- 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 b7f38d35b..3c9a5b72b 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