diff --git a/djinfo.html b/djinfo.html index ff1e2c8..1a09024 100644 --- a/djinfo.html +++ b/djinfo.html @@ -54,7 +54,8 @@ All volume sliders to 100%

the test stream is available on port 8015 and you can listen to it - here

+ here + or here as ogg

diff --git a/schedule/schedule.php b/schedule/schedule.php index 8912041..5afb0ad 100644 --- a/schedule/schedule.php +++ b/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)); }