sectionsd: send more chars of the event description

If the short description of an event was empty, only 40 chars of the
extended description were sent. This causes truncated text in the
channellist's details window.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@988 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 80f3d04fbf
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-01-01 (Sat, 01 Jan 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-01-01 14:02:30 +00:00
parent 0ae10601d6
commit 3a11f59dc1

View File

@@ -8809,7 +8809,7 @@ void sectionsd_getEventsServiceKey(t_channel_id serviceUniqueKey, CChannelEventL
aEvent.duration = t->dauer; aEvent.duration = t->dauer;
aEvent.description = (*e)->getName(); aEvent.description = (*e)->getName();
if (((*e)->getText()).empty()) if (((*e)->getText()).empty())
aEvent.text = (*e)->getExtendedText().substr(0, 40); aEvent.text = (*e)->getExtendedText().substr(0, 120);
else else
aEvent.text = (*e)->getText(); aEvent.text = (*e)->getText();
aEvent.channelID = serviceUniqueKey; aEvent.channelID = serviceUniqueKey;
@@ -9260,7 +9260,7 @@ void sectionsd_getChannelEvents(CChannelEventList &eList, const bool tv_mode = t
aEvent.duration = t->dauer; aEvent.duration = t->dauer;
aEvent.description = (*e)->getName(); aEvent.description = (*e)->getName();
if (((*e)->getText()).empty()) if (((*e)->getText()).empty())
aEvent.text = (*e)->getExtendedText().substr(0, 40); aEvent.text = (*e)->getExtendedText().substr(0, 120);
else else
aEvent.text = (*e)->getText(); aEvent.text = (*e)->getText();
eList.push_back(aEvent); eList.push_back(aEvent);