From e3c413d3c70a7609d00d1d557cbb49d21dc22bcd Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 8 Mar 2022 03:21:23 +0400 Subject: [PATCH] Weird errors it gives. And it just that Song() func that doesn't exist anymore for IcecastStatus struct. --- internal/handlers/web/templates/index.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/handlers/web/templates/index.jade b/internal/handlers/web/templates/index.jade index 2180eb7..9b60209 100644 --- a/internal/handlers/web/templates/index.jade +++ b/internal/handlers/web/templates/index.jade @@ -35,7 +35,7 @@ html(lang='en') p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]] else p #[span#radio-status Radio is offline.] - p Now playing: #[span#radio-song= .Status.Song()] + p Now playing: #[span#radio-song= .Status.SongName] p Current/peak listeners: #[span#radio-listeners= .Status.Listeners] / #[span#radio-listener-peak= .Status.ListenerPeak] p small Notice: information updates every 45 seconds. But you can #[button(id='btn-update') update] it forcibly.