From 1a4e345a832e9fa8d9a2d9d06d38e0fb837fc335 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 16 Mar 2019 21:15:47 +0100 Subject: [PATCH] - streaminfo2: add real channelname if it differs to channelname Signed-off-by: Thilo Graf --- src/gui/streaminfo2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 892e77a36..b7f38d35b 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