Announcement

Collapse
No announcement yet.

Sparkman's CDJ

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sparkman's CDJ

    I've been playing around with Sparkman's CDJ.ASP and found a refresh problem. If I press PLAY button, it starts playing music but the icon doesn't change until I hit the same button again or do a refresh in IE.

    Also, if the playlist is coming from various albums, the album picture doesn't refresh when it advances to next song if it's in the same album.

    I've found a few places for refresh but not sure if I should change the default settings:

    a) ttfCalcMeta = 900
    b) cdjRefresh = 900

    These are only cosmetic issues and I've been having a great time with this asp as well as NowPlaying. It makes playing MP3 a lot easier.

    Thanks,

    Simon

    #2
    It was me that screw things up!! In my links.htm, I have a META tag to go back to my HOME.HTML page after 900 seconds. I guess when that loads, it prevents CDJ.ASP to refresh. I actually noticed that on the UltraStatus page as well but it wasn't obvious.

    I'm not sure if I can get rid of the post but I appreciate for those who read my message. Thanks a lot.

    Simon

    Comment


      #3
      Hi Simon,

      On the issue of the graphic not changing when pressing play, that happens because the HomeSeer device that holds the status of CDJ does not get updated until after the page has reloaded. Unfortunately, there's no way for the ASP page to know when the HomeSeer device is updated. Ron Depping had built some functionality into Track 2 File that lets HomeSeer know when some devices are updated, but not this particular one.

      Glad you resolved the other issue.

      Cheers
      Al
      HS 4.2.8.0: 2134 Devices 1252 Events
      Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

      Comment


        #4
        Hi Sparkman,

        Thanks for your clarification. I don't know much about ASP or HTML but I can play around the refresh section of your CDJ.ASP and see if there's a way to reflect button pressed.

        No wonder where my time goes when I'm in front of the PC [img]/infopop/emoticons/icon_smile.gif[/img]

        Simon

        Comment


          #5
          I tried adding the following to each respond.send (i.e. response.send ("<img border=0 src=" & imgPlay & " alt='play'>"):

          <META HTTP-EQUIV="Refresh" delay=3 CONTENT= "3">

          but it failed when I load up the ASP page. I got text on the screen. I was just hoping to reload the page 3 seconds after each button press.

          I'll keep trying and let you know, thanks.

          Simon

          Comment

          Working...
          X