From 246b445cc4e58e8578ed89e0e5dffe6d2d339d2e Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sun, 28 Apr 2013 17:32:51 +0100 Subject: [PATCH] Short text instead of description in getChannelSchedule, fix ok result return --- handler.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/handler.c b/handler.c index 71cb960..d655e2d 100644 --- a/handler.c +++ b/handler.c @@ -681,10 +681,12 @@ bool jsonserver_channelschedule(Json::Value& js, const char* postData) oneEvent["Time"] = (Json::UInt)event->StartTime(); oneEvent["Duration"] = event->Duration(); oneEvent["Title"] = event->Title() ? event->Title() : ""; - oneEvent["Description"] = event->Description() ? event->Description() : ""; + oneEvent["ShortText"] = event->ShortText() ? event->ShortText() : ""; + //oneEvent["Description"] = event->Description() ? event->Description() : ""; jsevents.append(oneEvent); } + js["Result"] = true; js["Events"] = jsevents; return true; } -- 2.39.5