mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user