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

Origin commit data
------------------
Branch: ni/coolstream
Commit: b06e8eccd2
Author: vanhofen <vanhofen@gmx.de>
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
This commit is contained in:
vanhofen
2019-03-16 21:26:13 +01:00
parent 624b6aef46
commit aec6fb88ef

View File

@@ -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