diff options
author | lado <herrlado@gmail.com> | 2013-06-14 15:10:43 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-06-14 15:10:43 +0200 |
commit | ce3b64afc5abadf3b77299c7e9d9f4617e878740 (patch) | |
tree | 4ff1f010f075ffe209642fac2cca5979a818b96e /vdr-vdrmanager/helpers.cpp | |
parent | c66eaf01307aadfceed92a19e2703ae3754218ce (diff) | |
download | vdr-manager-ce3b64afc5abadf3b77299c7e9d9f4617e878740.tar.gz vdr-manager-ce3b64afc5abadf3b77299c7e9d9f4617e878740.tar.bz2 |
http://projects.vdr-developer.org/issues/1386
Diffstat (limited to 'vdr-vdrmanager/helpers.cpp')
-rw-r--r-- | vdr-vdrmanager/helpers.cpp | 12 |
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) { |