From b53b9910cf7aa17c1bf36a56cad997a81f87c7dd Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 29 Jul 2015 13:52:13 +0200 Subject: expose schedulename in api --- view/streams-json-v1.php | 1 + 1 file changed, 1 insertion(+) (limited to 'view') diff --git a/view/streams-json-v1.php b/view/streams-json-v1.php index 75e5be9..c705bd7 100644 --- a/view/streams-json-v1.php +++ b/view/streams-json-v1.php @@ -81,6 +81,7 @@ foreach($overview->getGroups() as $group => $rooms) $roomstruct[] = array( 'slug' => $room->getSlug(), + 'schedulename' => $room->getScheduleName(), 'thumb' => forceslash(baseurl()).$room->getThumb(), 'link' => forceslash(baseurl()).$room->getLink(), 'display' => $room->getDisplay(), -- cgit v1.2.3