Announcement

Collapse
No announcement yet.

HTML code

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?



    I have no idea

  • #2
    help

    Comment


    • #3
      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>

      Comment


      • #4
        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
        WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎