- streaminfo2: add real channelname if it differs to channelname (part 2)

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-03-16 21:26:13 +01:00
committed by Thilo Graf
parent 1a4e345a83
commit db30378397

View File

@@ -870,7 +870,6 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
r.val += " << "; r.val += " << ";
r.val += channel->getRealname().c_str(); r.val += channel->getRealname().c_str();
} }
v.push_back(r); v.push_back(r);
// url // url
@@ -908,6 +907,11 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
r.key = g_Locale->getText(LOCALE_TIMERLIST_CHANNEL); r.key = g_Locale->getText(LOCALE_TIMERLIST_CHANNEL);
r.key += ": "; r.key += ": ";
r.val = channel->getName().c_str(); r.val = channel->getName().c_str();
if (channel->getName() != channel->getRealname())
{
r.val += " << ";
r.val += channel->getRealname().c_str();
}
v.push_back(r); v.push_back(r);
// provider // provider