Let's comment out everything and debug it step by step.
This commit is contained in:
parent
050fc18949
commit
4c941c6847
@ -29,12 +29,16 @@ html(lang='en')
|
|||||||
| OGG 128 Kb/s
|
| OGG 128 Kb/s
|
||||||
audio(preload='none' controls='')
|
audio(preload='none' controls='')
|
||||||
source(src='/live/stream.ogg' type='audio/ogg')
|
source(src='/live/stream.ogg' type='audio/ogg')
|
||||||
| Your browser doesn't support an audio element, it's sad... But you always can take the #[a(href='/playlist') playlist].
|
//- | Your browser doesn't support an audio element, it's sad... But you always can take the #[a(href='/playlist') playlist].
|
||||||
|
//- - var isDateNA = .Status.ServerStartDate == 'n/a'
|
||||||
p Now playing: #[span#radio-song= .Status.SongName]
|
//- unless false
|
||||||
p Current/peak listeners: #[span#radio-listeners= .Status.Listeners] / #[span#radio-listener-peak= .Status.ListenerPeak]
|
//- p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]]
|
||||||
p
|
//- else
|
||||||
small Notice: information updates every 45 seconds. But you can #[button(id='btn-update') update] it forcibly.
|
//- p #[span#radio-status Radio is offline.]
|
||||||
|
//- 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.
|
||||||
if (.Status.LastSongs)
|
if (.Status.LastSongs)
|
||||||
section
|
section
|
||||||
h2 Last 10 songs
|
h2 Last 10 songs
|
||||||
@ -45,7 +49,7 @@ html(lang='en')
|
|||||||
td= song.Artist
|
td= song.Artist
|
||||||
td= song.Title
|
td= song.Title
|
||||||
section
|
section
|
||||||
p The largest number of simultaneous listeners was #[b 7] at #[time(datetime='2022-02-19') 19 February 2022], and the song was "Röyksopp - 49 Percent".
|
//- p The largest number of simultaneous listeners was #[b 7] at #[time(datetime='2022-02-19') 19 February 2022], and the song was "Röyksopp - 49 Percent".
|
||||||
section
|
section
|
||||||
h2 Privacy statements
|
h2 Privacy statements
|
||||||
p Logs are collected and include access date and time, IP-address, User-Agent, referer URL, request. This website makes use of JavaScript to update a radio status and last 10 songs list.
|
p Logs are collected and include access date and time, IP-address, User-Agent, referer URL, request. This website makes use of JavaScript to update a radio status and last 10 songs list.
|
||||||
|
Loading…
Reference in New Issue
Block a user