[icecast] problems with relay pull syntax (repeating shoutcast)

Rusty H. Hodge rusty at hodge.com
Fri Jun 1 22:36:18 UTC 2001



I'm not able to get icecast to repeat a shoutcast stream. More 
specifically, I'm trying to repeat a specific shoutcsat stream to a 
unique mount point on the icecast server.  Any help would be 
appreciated.

I've tried:

-> relay pull -m /stream http://stream.somafm.com:8000
Relay added
>  relay list
Listing relays:
Remote: [:9000/] Local: [-m] Connected: [no] Type: [pull] Reconnects: [0]
End of relay listing

It doesn't seem that the -m is being respected, and I don't know why 
it shows the remote as being port 9000.

Tried reversing the syntax:

-> relay pull http://stream.somafm.com:8000 -m /stream
Relay added
>  relay list
Listing relays:
Remote: [:9000/] Local: [-m] Connected: [no] Type: [pull] Reconnects: [1]
Remote: [stream.somafm.com:8000/] Local: [stream.somafm.com:8000/] 
Connected: [no] Type: [pull] Reconnects: [0]
End of relay listing
-> [01/Jun/2001:15:31:25] Accepted encoder on mountpoint 
stream.somafm.com:8000/ from 67.mubd.snfc.snfccafj.dsl.att.net. 1 
sources connected
-> relay list
Listing relays:
Remote: [:9000/] Local: [-m] Connected: [no] Type: [pull] Reconnects: [1]
Remote: [stream.somafm.com:8000/] Local: [stream.somafm.com:8000/] 
Connected: [yes] Type: [pull] Reconnects: [0]
End of relay listing
>  [01/Jun/2001:15:32:10] ERROR: sock_connect() called with NULL or 
>empty hostname

Here's my conf file in case that helps...

#icecast.conf

location San Francisco
rp_email rusty at hodge.com
server_url http://www.soma.net/
max_clients 9
max_clients_per_source 9
max_sources 10
max_admins 5
throttle 10.0
use_meta_data 0
streamurllock 0
streamtitletemplate %s
streamurl http://yp.icecast.org
nametemplate %s
desctemplate %s
mount_fallback 0
encoder_password xxx
admin_password xxx
oper_password xxx
touch_freq 5
port 9000
port 9001
server_name hip.soma.net
force_servername 0
logfile icecast.log
accessfile access.log
usagefile usage.log
logfiledebuglevel 0
consoledebuglevel 0
reverse_lookups 1
console_mode 0
client_timeout 30
kick_clients 0
staticdir /usr/local/icecast/static
templatedir /usr/local/icecast/templates
logdir /usr/local/icecast/logs
stats_log stats.log
statshtml_log stats.html
stats_time 60
kick_relays 10
transparent_proxy 0
acl_policy 1

--- >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