update test stream link

This commit is contained in:
Ben Harris 2020-07-21 11:34:54 -04:00
parent abc0b5f531
commit af00cded1e
2 changed files with 5 additions and 1 deletions

View File

@ -54,7 +54,8 @@ All volume sliders to 100%
</pre>
<p>the test stream is available on port 8015 and you can listen to it
<a href="https://radio.tildeverse.org/public/tilderadio_-_test">here</a></p>
<a href="https://radio.tildeverse.org/public/test">here</a>
or <a href="https://radio.tildeverse.org/radio/8010/radio.ogg">here as ogg</a></p>
</div>
</body>

View File

@ -31,6 +31,9 @@ usort($schedule, function ($a, $b) {
return $a["start"] <=> $b["start"];
});
if (isset($_GET["json"]) && $_GET["json"] === "yes")
echo json_encode($schedule);
function formatdate($date) {
return gmdate("D M d H:i", strtotime($date));
}