![]() |
#1 |
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 ![]() |
![]() |
![]() |
![]() |
#2 |
Junior Member
Join Date: Mar 2012
Posts: 41
|
help
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Mar 2012
Posts: 41
|
this is the html code
</div> <div class="nowPlaying"> <p class="nowPlaying">NOW PLAYING: <a href="http://78.71.248.254:8000/listen.pls" id="cc_stream_info_song"> Loading...</a></p> </div> |
![]() |
![]() |
![]() |
#4 |
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 |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|