This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

radio: add /announce endpoint to play c.r/announce.ogg

+6
+6
2configs/services/radio/radio.liq
··· 95 95 end 96 96 harbor.http.register(port = port, "/wish", wish_tracklist) 97 97 98 + def announce(req, response) = 99 + news.push(request.create("http://c.r/announce.ogg")) 100 + response.data("ok") 101 + end 102 + harbor.http.register(method = "POST", port = port, "/announce", announce) 103 + 98 104 def newsshow(req, response) = 99 105 news.push(request.create("http://c.r/news.ogg")) 100 106 response.data("ok")