Displaying 5 results from an estimated 5 matches for "shout_get_error".
2004 Aug 06
1
can't compile ices 2 on ppc
...to `shout_set_protocol'
stream.o(.text+0xac): relocation truncated to fit: R_PPC_REL24 shout_set_protocol
stream.o(.text+0xc8): undefined reference to `shout_set_host'
stream.o(.text+0xc8): relocation truncated to fit: R_PPC_REL24 shout_set_host
stream.o(.text+0xe4): undefined reference to `shout_get_error'
stream.o(.text+0xe4): relocation truncated to fit: R_PPC_REL24 shout_get_error
stream.o(.text+0x120): undefined reference to `shout_set_port'
stream.o(.text+0x120): relocation truncated to fit: R_PPC_REL24 shout_set_port
stream.o(.text+0x12c): undefined reference to `shout_set_password'...
2007 Sep 15
0
libshout: shout_get_error() returns SOCKET ERROR
Hello
I've configured the 'example.c' with the right SERVER, PORT, SHOUT FORMAT
and all the required stuff, it works fine (the setup shout_set...() calls)
but when reaching shout_open() it returns a socket error.
$ ./example
Error connecting: Socket error
The configuration of the server and example.c is right, at least the server
is up and running, and tried it with the
2004 Aug 06
0
programming with libshout
.../*
* MY DOUBT IS HERE IN THE FREAD
*/
read = fread(buff, 1, sizeof(buff), stdin);
total = total + read;
if (read > 0) {
ret = shout_send(shout, buff, read);
if (ret != SHOUTERR_SUCCESS) {
printf("DEBUG: Send error: %s\n", shout_get_error(shout));
break;
}
} else {
break;
}
shout_sync(shout);
}
} else {
printf("Error connecting: %s\n", shout_get_error(shout));
}
Thanks for your comments
_________________________________________________________________
MSN 8 helps el...
2004 Aug 06
0
ices2: ice-url header patch
...am_url;
if(stream_name)
if (!(shout_set_name(sdsc->shout, stream_name)) == SHOUTERR_SUCCESS) {
@@ -132,6 +138,12 @@
}
if (stream_description)
if (!(shout_set_description(sdsc->shout, stream_description)) == SHOUTERR_SUCCESS) {
+ LOG_ERROR1("libshout error: %s\n", shout_get_error(sdsc->shout));
+ stream->died = 1;
+ return NULL;
+ }
+ if (stream_url)
+ if (!(shout_set_url(sdsc->shout, stream_url)) == SHOUTERR_SUCCESS) {
LOG_ERROR1("libshout error: %s\n", shout_get_error(sdsc->shout));
stream->died = 1;
return NULL;
+mb+rzqk7&zz...
2008 Aug 30
3
Updated version of patch
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 usable
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