From af00cded1e96a6f0103769025b2cb507de84b07f Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 21 Jul 2020 11:34:54 -0400 Subject: [PATCH] update test stream link --- djinfo.html | 3 ++- schedule/schedule.php | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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)); }