Old 4th August 2018, 12:19   #1
milosz
Senior Member
 
Join Date: Apr 2006
Location: chicago
Posts: 112
Display playlist info from my stream on my web site

I have a stream. It runs off a simple playlist. it's 3000 items long, and each item is minimum 30 minutes long, maximum 90 minutes, so it's a playlist that takes a long time to repeat- over two months.

I would like to put some code on my website that would display where in the playlist the currently streaming track is, what's coming next, and maybe even the next 10 playlist items. (My material is all public domain so there's no problem with letting folks know what's coming up next)

I know I can just show the HTML output of the DNAS which shows the next track, but I want something nicer than that- something that shows more.

Before I go about re-inventing a wheel that someone may have already created, I thought I'd ask - anyone know of such a thing?

Thanks
milosz is offline   Reply With Quote
Old 4th August 2018, 12:29   #2
NJK
Frisian Spamfighting Mod
 
NJK's Avatar
 
Join Date: Sep 2003
Location: a real Frisian hometown
Posts: 14,765
I take it you search the internet already for Now Playing Scripts?

Each Thursday a new show on Celtica Radio with Darkwave music.
NJK is offline   Reply With Quote
Old 4th August 2018, 13:13   #3
milosz
Senior Member
 
Join Date: Apr 2006
Location: chicago
Posts: 112
I don't need a "now playing" - I have one of those already - I need a "next ten to be played"

Various searches for shoutcast scripts, stream scripts etc have not found any "upcoming tracks" scripts

Thanks
milosz is offline   Reply With Quote
Old 4th August 2018, 13:27   #4
NJK
Frisian Spamfighting Mod
 
NJK's Avatar
 
Join Date: Sep 2003
Location: a real Frisian hometown
Posts: 14,765
https://www.youtube.com/watch?v=ppzYGd0wi_c

https://www.youtube.com/watch?v=HtTG5Kf_mTA

https://github.com/AzuraCast/AzuraCast/issues/158

just 3 examples of what you might be needing.

Each Thursday a new show on Celtica Radio with Darkwave music.
NJK is offline   Reply With Quote
Old 4th August 2018, 23:15   #5
milosz
Senior Member
 
Join Date: Apr 2006
Location: chicago
Posts: 112
Thanks. The database / PHP stuff would be useful if / when I do my own script. My playlist is not a database, just a flat file, but the approach could probably be made to work. I think there would be more work, too, because the script would have to get the "now playing" info from the DNAS.

The recently played / now playing / what's next info is already easily available from the DNAS' HTTP output which I could put in a frame or some such.

What I am looking for is something to show the next 10 upcoming tracks, and that doesn't seem to exist. Perhaps I'll have to do that myself.... but it was worth a shout out to see if someone had already done it, after my various searches didn't turn it up.

If I get it to work I'll post it.
milosz is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump