summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vdr-vdrmanager/helpers.cpp')
-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) {