aboutsummaryrefslogtreecommitdiff
path: root/view/streams-json-v1.php
diff options
context:
space:
mode:
authorMaZderMind2015-07-29 13:52:13 +0200
committerMaZderMind2015-07-29 13:52:13 +0200
commitb53b9910cf7aa17c1bf36a56cad997a81f87c7dd (patch)
treef0e01a273766553828ab4041d0ba579b2a337309 /view/streams-json-v1.php
parent20090dfc4b55f1063f1d5863b69942807a456949 (diff)
expose schedulename in api
Diffstat (limited to '')
-rw-r--r--view/streams-json-v1.php1
1 files changed, 1 insertions, 0 deletions
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(),