Browse Source

update test stream link

pull/12/head
Ben Harris 1 year ago
parent
commit
af00cded1e
  1. 3
      djinfo.html
  2. 3
      schedule/schedule.php

3
djinfo.html

@ -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>

3
schedule/schedule.php

@ -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));
}

Loading…
Cancel
Save