thanks for the tips olaf & frank¡

I will try something of what you suggest. maybe i like more to go through cvs :)

btw, on linux when you tried oggred~ a non-ogg file, it used to crash my pd with segfault. I managed to touch the code and put an else just on the next line to

post("oggread~: could not rewind file to beginning\n"); # LINE 230

also modified the post() to this:

post("oggread~: could not rewind file to beginning\n oggread~: sending end bang. the file was skipped\n");

and added just on the next line:

outlet_bang(x->x_out_end);

as I was using the endbang to jump to the next item on my playlist.

I don't know it anything I did is "correct", but it works. no more crashes, and make use
of endbang for notifying that an ogg which was supposed to be opened, has already finished, so that "we can know" what to do in that case.

This is the first time I touch an external and I'm not enough into C,
but if I can help someway or you wish to include this hack, just tell.

cheers

El sáb, 27-09-2003 a las 00:26, Frank Barknecht escribió:
Hallo,
rama hat gesagt: // rama wrote:

> I'm having exactly the same problem for authentication with icecast2.
> 
> tell me if you need further output
> how to proceed?

The relevant change is in the file oggcast~.c which you also could get
on pure-data.sf.net in the CVS. There still might be a bug with
setting attributes like ARTIST - at least it crashes here, but not on
Windows - but the main functionality is there and works on Debian.

ciao
--
rama <medialist@xicnet.com>