1
0

Weird errors it gives. And it just that Song() func that doesn't exist anymore for IcecastStatus struct.

This commit is contained in:
Alexander Andreev 2022-03-08 03:21:23 +04:00
parent 35c65bf528
commit e3c413d3c7
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

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