In an index.pug added span#radio-duration.
This commit is contained in:
parent
9757f5f748
commit
35429e57d2
@ -45,7 +45,10 @@ html(lang='en')
|
|||||||
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]!
|
||||||
div
|
div
|
||||||
p Now playing: #[span#radio-song #{songList.Current().ArtistTitle()}]
|
if (songList.Current() != nil)
|
||||||
|
p Now playing: #[span#radio-song #{songList.Current().ArtistTitle()}] #[span#radio-duration #{songList.Current().DurationString()}]
|
||||||
|
else
|
||||||
|
p Now playing: #[span#radio-song ] #[span#radio-duration ]
|
||||||
p Current/peak listeners: #[span#radio-listeners #{listeners.Current()}] / #[span#radio-listener-peak #{listeners.Peak()}]
|
p Current/peak listeners: #[span#radio-listeners #{listeners.Current()}] / #[span#radio-listener-peak #{listeners.Peak()}]
|
||||||
p
|
p
|
||||||
small Notice: information updates every 45 seconds. But you can #[button#radio-update update] it forcibly.
|
small Notice: information updates every 45 seconds. But you can #[button#radio-update update] it forcibly.
|
||||||
|
Loading…
Reference in New Issue
Block a user