[Icecast-dev] Updated version of patch
brendan at xiph.org
Wed Sep 10 00:26:23 PDT 2008
On Saturday, 30 August 2008 at 16:00, Michel Van den Bergh wrote:
> Attached is a patch against shout-python-0.2 which does two trivial but
> very useful things
> (1) The function "get_connected" is exported so that shout-python becomes
> in nonblocking mode. In the current version of shout-python "open"
> raises an exception in nonblocking mode.
> (2) The global interpreter lock is released in the potentially blocking
> functions "open", "send" and "sync". In this way a shout-python can run
> in blocking mode
> in a separate thread without blocking other threads.
> Both parts were tested.
> I needed either (1) or (2) to make a webgui for controlling an icecast
> source. I tried both approaches. They both work but in the end I opted for
> (2) since the code was cleaner.
This is in subversion now. I'll try to get a new release out this
More information about the Icecast-dev