[icecast] python playlist bug?

Brendan Cully brendan at icecast.org
Wed Jul 4 02:30:17 UTC 2001



On Tuesday, 03 July 2001 at 18:15, Martin Dressler wrote:
> I don't know if it is bug or not, but when I played with ices.py module I 
> found that the body of script is executed everytime any function (like 
> ices_get_next_song) is called.
> This cause that when you use sceleton (ices.py.dist) it doesn't work.
> I mean this line
> songnumber=-1
> at begin of file.
> 
> My python is version 1.5.2
> 
> It's a bug or normal behavior?

Thanks for pointing this out. It appears to have been done
intentionally but I agree with you that it makes the playlist script
less powerful. I've fixed this in CVS.

-Brendan

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list