bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bayonne-devel] How do I get play to work over HTTP?


From: David Sugar
Subject: Re: [Bayonne-devel] How do I get play to work over HTTP?
Date: Mon, 30 Jun 2003 17:23:19 -0400
User-agent: KMail/1.5

I think I see the problem.  In services.cpp, we have:

...

       if(NULL == strstr(name, "::"))
        {
                cp = NULL;
                if(!strnicmp(filename, "http:", 5))
                        return filename;

                if(!strnicmp(name, "sys:", 4))
                {
                        cp = "/sys/";

...

I think that should be if(strnicmp(name, "http:", 5))
                                        return name;

Rather than "filename".

On Monday 30 June 2003 06:14 am, Alastair Maw wrote:
> The manual states:
>
> "Audio may be played directly from a URL when XML support has been
> enabled in Bayonne. [...] hence, one can do something like ``play
> http:/audio/myaudio.au''. If XML support is not enabled, then `http:'
> prompts are ignored."
>
>
> So I have this in my script:
>
>     play http://localhost/audio.au
>
>
> Which produces --trace output of:
>
>     dummy(0): step 3 play(http:/localhost/audio.au)
>     dummy(0): play
>     /usr/local/share/bayonne/sys/http//localhost/audio.au: cannot open
>     dummy(0): reset
>
>
> I didn't compile Bayonne with --without-xml, and SQL support, etc. is
> working fine.
>
> Any pointers on how to get this to work would be most welcome. OTOH, if
> I get there first, discover there's a problem, and patch the source
> code, where do I submit patches for review?
>
> TIA,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]