Working radio online status.
This commit is contained in:
parent
b258e6f7ef
commit
f605475f75
@ -30,12 +30,12 @@ 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'
|
if .Status.ServerStartDate
|
||||||
//- unless false
|
p#radio-status On-air since
|
||||||
//- p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]]
|
time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate
|
||||||
//- else
|
else
|
||||||
//- p #[span#radio-status Radio is offline.]
|
p#radio-status Radio is offline.
|
||||||
p Now playing: #[span#radio-song #{.Status.SongName}]
|
p Now playing: #[span#radio-song #{.Status.SongName}]
|
||||||
p Current/peak listeners: #[span#radio-listeners #{.Status.Listeners}] / #[span#radio-listener-peak #{.Status.ListenerPeak}]
|
p Current/peak listeners: #[span#radio-listeners #{.Status.Listeners}] / #[span#radio-listener-peak #{.Status.ListenerPeak}]
|
||||||
p
|
p
|
||||||
|
Loading…
Reference in New Issue
Block a user