summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-06-14 15:10:43 +0200
committerlado <herrlado@gmail.com>2013-06-14 15:10:43 +0200
commitce3b64afc5abadf3b77299c7e9d9f4617e878740 (patch)
tree4ff1f010f075ffe209642fac2cca5979a818b96e
parentc66eaf01307aadfceed92a19e2703ae3754218ce (diff)
downloadvdr-manager-ce3b64afc5abadf3b77299c7e9d9f4617e878740.tar.gz
vdr-manager-ce3b64afc5abadf3b77299c7e9d9f4617e878740.tar.bz2
http://projects.vdr-developer.org/issues/1386
-rw-r--r--vdr-vdrmanager/helpers.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/vdr-vdrmanager/helpers.cpp b/vdr-vdrmanager/helpers.cpp
index b75931c..aec9f08 100644
--- a/vdr-vdrmanager/helpers.cpp
+++ b/vdr-vdrmanager/helpers.cpp
@@ -864,6 +864,18 @@ string cHelpers::ToText(const cEvent * event) {
result += MapSpecialChars(channel->GetChannelID().ToString());
result += ":";
result += GetAudioTracks(channel);
+ result += ":";
+
+ if (event->Contents(0)) {
+ string sep = "";
+ for (int i = 0; event->Contents(i); i++){
+ uchar c = event->Contents(i);
+ result += sep;
+ snprintf(buf, sizeof(buf) - 1, "%u", c);
+ result += buf;
+ sep = " ";
+ }
+ }
result += "\r\n";
if (eventTimer) {