Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Icecast YP Directory: Shoutcast Relay

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
rockhost



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Fri Sep 24, 2010 2:44 pm    Post subject: Icecast YP Directory: Shoutcast Relay Reply with quote

Currently I have an Icecast server relaying a Shoutcast server. Everything is working great except for the fact that I can't find the station in dir.xiph.org. I see several positive lines in the logs such as:

[2010-09-24 09:30:44] INFO main/main Icecast 2.3.2 server started
[2010-09-24 09:30:44] DBUG yp/yp_recheck_config Updating YP configuration
[2010-09-24 09:30:44] INFO yp/yp_recheck_config Adding new YP server "http://dir.xiph.org/cgi-bin/yp-cgi" (timeout 6s, default interval 30s)
[2010-09-24 09:30:44] INFO yp/yp_update_thread YP update thread started
[2010-09-24 09:30:44] DBUG yp/check_servers Add pending yps http://dir.xiph.org/cgi-bin/yp-cgi

Although farther down I see a few log lines which I wonder about.

[2010-09-24 09:30:45] DBUG source/source_apply_mount YP changed to 1
[2010-09-24 09:30:45] DBUG yp/yp_add Adding /stream to http://dir.xiph.org/cgi-bin/yp-cgi
[2010-09-24 09:30:45] DBUG source/source_update_settings public set to 1
[2010-09-24 09:30:45] DBUG yp/add_pending_yp 1 YP entries added to http://dir.xiph.org/cgi-bin/yp-cgi

Other than that my only doubt is this:

[2010-09-24 09:30:46] DBUG stats/modify_node_event update node server_description (Unspecified description)

I have entered this in my config:

<stream-description>Radio XXXX XXXXX</stream-description>
<!--<no-yp>1</no-yp>-->

Any help would be much appreciated. Thanks!
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM, Inc. - "Established Y2K1"]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 24, 2010 3:17 pm    Post subject: Reply with quote

If you send us the specifics to search for then we can check but from what you have posted so far then only reason I can see that would prevent listing is an invalid <hostname> setting or an inaccessible server. If it is being dropped then you'll see a YP add being reported in the log every say 20mins whereas an entry that is on will just get more frequent YP touch entries.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rockhost



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Fri Sep 24, 2010 3:37 pm    Post subject: Reply with quote

By all means, thank you...

http://64.38.59.226:8004/

<icecast>
<limits>
<clients>35</clients>
<sources>3</sources>
<threadpool>5</threadpool>
<queue-size>102400</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<!-- If enabled, this will provide a burst of data when a client
first connects, thereby significantly reducing the startup
time for listeners that do substantial buffering. However,
it also significantly increases latency between the source
client and listening client. For low-latency setups, you
might want to disable this. -->
<burst-on-connect>1</burst-on-connect>
<!-- same as burst-on-connect, but this allows for being more
specific on how much to burst. Most people won't need to
change from the default 64k. Applies to all mountpoints -->
<burst-size>65535</burst-size>
</limits>

<authentication>
<!-- Sources log in with username 'source' -->
<source-password>xxxxxxxxxxx</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>xxxxxxxxxxx</relay-password>

<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>xxxxxxxxxxxxxx</admin-password>
</authentication>

<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->

<!-- {%comment-open-if:icecast.directory.yp-url==""%} -->
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<!-- {%comment-close-if:icecast.directory.yp-url==""%} -->


<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>streaming.rockandrollhosting.com</hostname>

<!-- You can use these two if you only want a single listener -->
<port>8004</port>
<bind-address>64.38.59.226</bind-address>

<!-- You may have multiple <listener> elements -->
<!--
<listen-socket>
<port>8050</port>
<bind-address>192.168.0.10</bind-address>
</listen-socket>
-->


<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->

<!-- {%comment-open-if:icecast.master-server==""%} --> <!--
<relays-on-demand>0</relays-on-demand>
<master-server>127.0.0.1</master-server>
<master-server-port>8001</master-server-port>
<master-update-interval>120</master-update-interval>
<master-password>xxxxxxxxxxx</master-password>
--> <!-- {%comment-close-if:icecast.master-server==""%} -->

<!-- {%comment-open-if:icecast.relay.server==""%} -->
<relay>
<server>64.38.59.226</server>
<port>8006</port>
<mount>/</mount>
<local-mount>/stream</local-mount>
<username></username>
<password></password>
<stream-description>Radio Ella Bella</stream-description>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
<on-demand>0</on-demand>
</relay>
<!-- {%comment-close-if:icecast.relay.server==""%} -->

<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords -->
<mount cc="main">
<mount-name>/stream</mount-name>

<intro></intro>
<fallback-mount>/live</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<!-- {%comment-open-if:icecast.suppressmeta=="0"%} --> <!--
<mp3-metadata-interval>0</mp3-metadata-interval>
--> <!-- {%comment-close-if:icecast.suppressmeta=="0"%} -->

<!--<no-yp>1</no-yp>-->
</mount>

<mount cc="live">
<mount-name>/live</mount-name>

<intro></intro>
<fallback-mount>/autodj</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<!-- {%comment-open-if:icecast.suppressmeta=="0"%} --> <!--
<mp3-metadata-interval>0</mp3-metadata-interval>
--> <!-- {%comment-close-if:icecast.suppressmeta=="0"%} -->

<!--<no-yp>1</no-yp>-->
</mount>

<mount cc="autodj">
<mount-name>/autodj</mount-name>
<bitrate>128</bitrate>

<intro></intro>
<fallback-mount></fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<!-- {%comment-open-if:icecast.suppressmeta=="0"%} --> <!--
<mp3-metadata-interval>0</mp3-metadata-interval>
--> <!-- {%comment-close-if:icecast.suppressmeta=="0"%} -->

<!--<no-yp>1</no-yp>-->
<charset>UTF-8</charset>
</mount>

<fileserve>1</fileserve>

<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required
<shoutcast-mount>/live.nsv</shoutcast-mount>
-->

<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>/home/centovacast/vhosts/emclaugh/</basedir>

<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>var/log/</logdir>
<webroot>web/</webroot>
<adminroot>admin/</adminroot>
<pidfile>var/run/server.pid</pidfile>

<!-- Aliases: treat requests for 'source' path as being for 'dest' path
May be made specific to a port or bound address using the "port"
and "bind-address" attributes.
-->
<!--
<alias source="/foo" dest="/bar"/>
-->
<!-- Aliases: can also be used for simple redirections as well,
this example will redirect all requests for http://server:port/ to
the status page
-->
<alias source="/" dest="/status.xsl"/>
</paths>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<playlistlog>playlist.log</playlistlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>

<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
-->
</security>
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM, Inc. - "Established Y2K1"]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 24, 2010 4:08 pm    Post subject: Reply with quote

It looks like the hostname is wrong. streaming.rockandrollhosting.com seems to have a different IP address. Maybe you want the hostname setting as 64.38.59.226 or the DNS name for it.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rockhost



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Fri Sep 24, 2010 4:13 pm    Post subject: Reply with quote

Okay, I have changed <hostname> to "64.38.59.226." I still can't find the listing. Am I wrong?
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM, Inc. - "Established Y2K1"]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 24, 2010 4:19 pm    Post subject: Reply with quote

http://dir.xiph.org/search?search=BELLA

seems to show up. The supplied web address is wrong but I suspect that was just because of testing.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rockhost



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Fri Sep 24, 2010 4:52 pm    Post subject: Reply with quote

Super, I was searching for "RADIO ELLA BELLA" which doesn't produce results for some reason.

Perhaps I need to add the <stream-url> tag too, correct?

Thanks!
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM, Inc. - "Established Y2K1"]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 24, 2010 5:43 pm    Post subject: Reply with quote

The term radio will match many sites so you probably want to avoid that one. The stream url setting should suffice, description is also another one you can set.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rockhost



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Fri Sep 24, 2010 5:48 pm    Post subject: Reply with quote

Ah, duh..."radio", certainly.

Here's the thing, as you can see in the config I posted I am using <stream-description> but it doesn't seem to be working. Does it need to be nested inside of other certain tags?

Thanks!
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM, Inc. - "Established Y2K1"]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 24, 2010 6:47 pm    Post subject: Reply with quote

the description setting should be in the <mount> tag group not <relay>. So that the same setting can be done for both relays and source clients.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rockhost



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Fri Sep 24, 2010 7:06 pm    Post subject: Reply with quote

That makes perfect sense, thanks!
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM, Inc. - "Established Y2K1"]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber