From b2afb6955ecdfd4263c530b99595a45c58eda5fd Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sun, 31 Jul 2005 16:52:51 +0000 Subject: [PATCH] Patch from Dave Pickles for VDR 1.3 recording summary --- mvpclient.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mvpclient.c b/mvpclient.c index a678a6b..1a66fc4 100644 --- a/mvpclient.c +++ b/mvpclient.c @@ -331,7 +331,14 @@ void MVPClient::processGetSummary(unsigned char* data, int length) #if VDRVERSNUM < 10300 point = (char*)recording->Summary(); #else - point = (char*)recording->Info()->ShortText(); + const cRecordingInfo *Info = recording->Info(); + point = (char*)Info->ShortText(); + printf("info pointer %p\nsummary pointer %p\n", Info, point); + if (isempty(point)) + { + point = (char*)Info->Description(); + printf("description pointer %p\n", point); + } #endif strcpy((char*)&sendBuffer[count], point); count += strlen(point) + 1; -- 2.39.2