Displaying 2 results from an estimated 2 matches for "lastlen".
Did you mean:
lasten
2007 Sep 11
0
Coding in python using shout-python bindings
...age. And if I recall exactly, it's no use to increase from
4096 to 8192 or more : it's because the f.read method is async, i.e.
one call may not consume all message. So, first you have to check if
f.read is async, and if it is, it could help to write something like :
while len(buffer) > lastlen:
buffer += f.read(4096)
lastlen = len(buffer)
Hope this helps ! it would be cool if a python binding for libshout
was to be released :)
2007/9/8, Edgar Merino <donvodka@gmail.com>:
> Hello,
>
> I'm creating a module written in python that brings an easy to implement
>...
2007 Sep 08
3
Coding in python using shout-python bindings
Hello,
I'm creating a module written in python that brings an easy to implement
interface for the libshout lib, mainly to provide streaming capabilities
to a gnome player called Exaile (http://www.exaile.org). The module is
almost done (already available at
http://devpower.blogsite.org:8080/archivos/icastplugin.py) but I'm
encountering some problems (I believe sync problems):