diff --git a/radio/views/index.pug b/radio/views/index.pug index 054b19c..607dec4 100644 --- a/radio/views/index.pug +++ b/radio/views/index.pug @@ -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 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 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.