diff options
author | lordjaxom <lordjaxom> | 2005-01-15 21:00:57 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-15 21:00:57 +0000 |
commit | 42d54c80ef8591d5ad3ec406e37a138bd8c962e1 (patch) | |
tree | 3d3cb5bfdac4492473104f9dcb27e9df4605025e /display.c | |
parent | f12c23cf36eb930c2dfa5ffaa7f995945b992c73 (diff) | |
download | vdr-plugin-text2skin-42d54c80ef8591d5ad3ec406e37a138bd8c962e1.tar.gz vdr-plugin-text2skin-42d54c80ef8591d5ad3ec406e37a138bd8c962e1.tar.bz2 |
- implemented token {ChannelID}
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |