Menu

Howto debug when local play doesn't work ?

Help
2002-01-21
2002-01-23
  • Bram van den Hout

    I've recently setup webplay 1.00a w/ mysql on my linux system.
    Streaming to remote clients is no problem.
    But when using the 'local' option, the player (xaudio) doesn't kick in.

    I'm pretty sure that it's not a webplay configuration problem.

    What's the best way to troubleshoot this ?

    The java applet comes with the message : local play started, but nothing happens.

    Any idea's ?

     
    • Bram van den Hout

      My idea is that apache doesn't understand the localhost bit in pls_play.cgi :

      ($streamer_local = $streamer) =~ s#//.+?(?=:|/)#//localhost#;

      So I changed that to :
      ($streamer_local = $streamer) =~ s#//.+?(?=:|/)#//webplay.braminator.com#;

      But this doesn't have any effect either

       
    • david reuteler

      david reuteler - 2002-01-22

      it's probably an issue with xaudio.

      is xaudio even being forked?

      you should see it running (ps -ef for linux)

      panic% ps auxwww|grep xaudio
      www      26936  1.1  0.3   224  1068 ??  SN    Sun09PM   51:35.87 /home/webplay/bin/xaudio http://localhost/webplay/cgi-pls/getplaylist.cgi?id=14696&loop=1&br=0&time=1011582976&user=reuteler&group=None&token=8829563c1f5d32656434e92e79aa4783

      if it is ..

      can it play an mp3 through the speakers from the
      command line?  as the webuser?

      if it isn't ..

      can you run it?  path correct?

       
      • Bram van den Hout

        xaudio is forked.
        After i entered the xaudio command with the URL, the command exited with a time-out error.
        After this the problem was solved pretty quickly.
        Turned out to be a Firewall/Apache conf problem.

        Thanks for ur help !!

         

Log in to post a comment.

MongoDB Logo MongoDB