Added a simple list of last 10 songs played.
This commit is contained in:
parent
fbdd4211e1
commit
76a4f42d7a
@ -41,6 +41,14 @@ html(lang='en')
|
|||||||
p Current/peak listeners: #[span#radio-listeners= radio_status.listeners] / #[span#radio-listener-peak= radio_status.listener_peak]
|
p Current/peak listeners: #[span#radio-listeners= radio_status.listeners] / #[span#radio-listener-peak= radio_status.listener_peak]
|
||||||
p
|
p
|
||||||
small Notice: information updates every 45 seconds. But you can #[a(href="javascript:getRadioStats()") update] it forcibly.
|
small Notice: information updates every 45 seconds. But you can #[a(href="javascript:getRadioStats()") update] it forcibly.
|
||||||
|
if (last_songs)
|
||||||
|
section
|
||||||
|
h2 Last 10 songs
|
||||||
|
table#last-played
|
||||||
|
each song in last_songs
|
||||||
|
tr
|
||||||
|
td= song[0]
|
||||||
|
td= song[1]
|
||||||
section
|
section
|
||||||
h2 About the radio
|
h2 About the radio
|
||||||
p This project grew from MPD I used to stream music over LAN for myself. Then I let it out and placed a player on my neocities website. Then I added Icecast to see if there are listeners. I wasn't happy on how MPD was nearly overloading CPU, and later on, when I moved radio off to a laptop, I found a great tool for streams called Liquidsoap.
|
p This project grew from MPD I used to stream music over LAN for myself. Then I let it out and placed a player on my neocities website. Then I added Icecast to see if there are listeners. I wasn't happy on how MPD was nearly overloading CPU, and later on, when I moved radio off to a laptop, I found a great tool for streams called Liquidsoap.
|
||||||
|
Loading…
Reference in New Issue
Block a user