Please excuse my ignorance but here's what my server is doing....unsuccessfully:
    open a datagram socket with FreeAmp when FreeAmp connects (my server is a Datagram
client)
    when stream titles change:
        send a datagram packet consisting of: "x-audiocast-streamurl: couldBeAnything"
        followed by another datagram packet of: "x-audiocast-streamtitle:
alsoCouldBeAnything"
(as far as I can tell from the code, there's one space after the ":" but, even if 
there were
two or three
spaces, that wouldn't disrupt FreeAmp's parsing of the packet)

The server isn't throwing any socket exceptions (and I've verified the UDP port at 
runtime)
so, the data
is sent *somewhere*. Is the above correct or is this another "Stupid 
Java/javaProgrammer
trick"
(lord knows I've seen lots of these in my project)?

BTW, thanks for the pointers to the correct source code modules...knowing where to 
begin
saves me a lot
of time.

Thank you for your patience,

bruce oblander


[EMAIL PROTECTED] wrote:

> On  6 Aug, Bruce Oblander wrote:
> > Got it...but one (well maybe two) more question:
> >
> > I send "x-audiocast-streamurl: myurl" to FreeAmp *once* when it connects to my 
>server.
> >
> > I'm then sending "x-audiocast-streamtitle: trackTitle" to FreeAmp as the titles
> > change.
> >
> > is this correct or did I mis-read the code?
>
> No, the url and title are each sent when a new stream starts, and in
> the case of Obsequeuim every 10 seconds as well. However, the code may
> be confusing, since it uses two seperate packets and not one large
> packet to the send the url and title.
>
> --ruaok         Freezerburn! All else is only icing. -- Soul Coughing
>
> Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

Reply via email to