Old 26th December 2012, 22:34   #1
Julius95
Junior Member
 
Join Date: Mar 2012
Posts: 41
HTML code

How to make a simple html code which shows the current song playing and another one which just shows the recently played songs?

http://julius95.zapto.org:8000/

I have no idea
Julius95 is offline   Reply With Quote
Old 28th December 2012, 16:35   #2
Julius95
Junior Member
 
Join Date: Mar 2012
Posts: 41
help
Julius95 is offline   Reply With Quote
Old 5th January 2013, 14:12   #3
Julius95
Junior Member
 
Join Date: Mar 2012
Posts: 41
this is the html code

</div>
<div class="nowPlaying">

<p class="nowPlaying">NOW PLAYING:&nbsp;&nbsp; <a href="http://78.71.248.254:8000/listen.pls" id="cc_stream_info_song"> Loading...</a></p>
</div>
Julius95 is offline   Reply With Quote
Old 5th January 2013, 15:01   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
you cannot just do it with html, it needs some coding (javascript/php/etc) which can query the DNAS for the information.

however, you're using a version of the DNAS which doesn't simply provide the 'current song' and you'd have to parse the /7.html to get it (with a v2 DNAS you can just access /currentsong to get it).

as for the song history, you need to query another url. in either case, it's not just a enter an url to get things and you need to check through the docs for the version you're using to find the urls it provides so you can then script things.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Site Design

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