summaryrefslogtreecommitdiff
path: root/display.c
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2005-01-15 21:00:57 +0000
committerlordjaxom <lordjaxom>2005-01-15 21:00:57 +0000
commit42d54c80ef8591d5ad3ec406e37a138bd8c962e1 (patch)
tree3d3cb5bfdac4492473104f9dcb27e9df4605025e /display.c
parentf12c23cf36eb930c2dfa5ffaa7f995945b992c73 (diff)
downloadvdr-plugin-text2skin-42d54c80ef8591d5ad3ec406e37a138bd8c962e1.tar.gz
vdr-plugin-text2skin-42d54c80ef8591d5ad3ec406e37a138bd8c962e1.tar.bz2
- implemented token {ChannelID}
Diffstat (limited to 'display.c')
-rw-r--r--display.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/display.c b/display.c
index 446f9c7..31ecbb6 100644
--- a/display.c
+++ b/display.c
@@ -1,5 +1,5 @@
/*
- * $Id: display.c,v 1.9 2005/01/12 21:23:20 lordjaxom Exp $
+ * $Id: display.c,v 1.10 2005/01/15 21:00:57 lordjaxom Exp $
*/
#include "render.h"
@@ -126,6 +126,11 @@ cxType cText2SkinDisplayChannel::GetTokenData(const txToken &Token)
? (cxType)Sources.Get(mChannel->Source())->Description()
: (cxType)false;
+ case tTChannelID:
+ return mChannel != NULL
+ ? (cxType)(const char*)mChannel->GetChannelID().ToString()
+ : (cxType)false;
+
case tPresentStartDateTime:
return mPresent != NULL
? (cxType)TimeType(mPresent->StartTime(), Token.Attrib.Text)