]> git.vomp.tv Git - jsonserver.git/commitdiff
Add HasTimer to get channel schedule
authorChris Tallon <chris@vomp.tv>
Sat, 6 Sep 2014 13:57:21 +0000 (14:57 +0100)
committerChris Tallon <chris@vomp.tv>
Sat, 6 Sep 2014 13:57:21 +0000 (14:57 +0100)
handler.c

index cbb66d5540e1280fc7f6da9c6cc66dab8484e0f0..43ba3808faef4123d03214f56d921f99c68b8e8d 100644 (file)
--- a/handler.c
+++ b/handler.c
@@ -906,6 +906,7 @@ bool jsonserver_channelschedule(Json::Value& js, const char* postData)
     oneEvent["Duration"] = event->Duration();
     oneEvent["Title"] = event->Title() ? event->Title() : "";
     oneEvent["ShortText"] = event->ShortText() ? event->ShortText() : "";
+    oneEvent["HasTimer"] = event->HasTimer();
     //oneEvent["Description"] = event->Description() ? event->Description() : "";
     jsevents.append(oneEvent);
   }