summaryrefslogtreecommitdiff
path: root/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'display.c')
-rw-r--r--display.c29
1 files changed, 28 insertions, 1 deletions
diff --git a/display.c b/display.c
index 578c126..e5a7f38 100644
--- a/display.c
+++ b/display.c
@@ -1,5 +1,5 @@
/*
- * $Id: display.c,v 1.20 2005/05/30 09:23:41 lordjaxom Exp $
+ * $Id: display.c,v 1.21 2005/05/30 10:07:45 lordjaxom Exp $
*/
#include "render.h"
@@ -1067,6 +1067,33 @@ cxType cText2SkinDisplayMenu::GetTokenData(const txToken &Token)
case tMenuText:
return mText;
+#if VDRVERSNUM >= 10325
+ case tRecordingName:
+ return mRecording != NULL
+ ? (cxType)mRecording->Name()
+ : (cxType)false;
+
+ case tRecordingDateTime:
+ return mRecording != NULL
+ ? (cxType)TimeType(mRecording->start, Token.Attrib.Text)
+ : (cxType)false;
+
+ case tRecordingTitle:
+ return mRecording != NULL
+ ? (cxType)mRecording->Info()->Title()
+ : (cxType)false;
+
+ case tRecordingShortText:
+ return mRecording != NULL
+ ? (cxType)mRecording->Info()->ShortText()
+ : (cxType)false;
+
+ case tRecordingDescription:
+ return mRecording != NULL
+ ? (cxType)mRecording->Info()->Description()
+ : (cxType)false;
+#endif
+
default:
return cText2SkinRender::GetTokenData(Token);
}