diff options
author | MaZderMind | 2015-04-09 15:48:02 +0200 |
---|---|---|
committer | MaZderMind | 2015-04-09 15:48:02 +0200 |
commit | e277d91cf544d64f70bc989497116c851de7f97a (patch) | |
tree | 032cb9e58bb206ea4439f60c30bacbfbcdf1f51c /view | |
parent | 11d585caa8c702588e9e0e2ea6b6ad91799ad2b4 (diff) |
Add Link & Thumb to JSON-API
Diffstat (limited to '')
-rw-r--r-- | view/streams-json-v1.php | 2 |
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, ); |