aboutsummaryrefslogtreecommitdiff
path: root/view/streams-json-v1.php
diff options
context:
space:
mode:
authorMaZderMind2015-04-09 15:48:02 +0200
committerMaZderMind2015-04-09 15:48:02 +0200
commite277d91cf544d64f70bc989497116c851de7f97a (patch)
tree032cb9e58bb206ea4439f60c30bacbfbcdf1f51c /view/streams-json-v1.php
parent11d585caa8c702588e9e0e2ea6b6ad91799ad2b4 (diff)
Add Link & Thumb to JSON-API
Diffstat (limited to 'view/streams-json-v1.php')
-rw-r--r--view/streams-json-v1.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/streams-json-v1.php b/view/streams-json-v1.php
index 90c1cb0..75e5be9 100644
--- a/view/streams-json-v1.php
+++ b/view/streams-json-v1.php
@@ -81,6 +81,8 @@ foreach($overview->getGroups() as $group => $rooms)
$roomstruct[] = array(
'slug' => $room->getSlug(),
+ 'thumb' => forceslash(baseurl()).$room->getThumb(),
+ 'link' => forceslash(baseurl()).$room->getLink(),
'display' => $room->getDisplay(),
'streams' => $streams,
);