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 

Apologize for asking, re: uncommenting instruction

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





PostPosted: Mon Nov 12, 2007 10:43 pm    Post subject: Apologize for asking, re: uncommenting instruction Reply with quote

Hi,

I apologize if this question has been asked before. I am new to broadcasting. I did look at the basic documents concerning the configuration editor for the Icecast server. I was able to successfully set up the server in my dedicated server. I specified the new password and the Ip address of my dedicated server, etc.

However, I am not quite clear about getting my station listed at the Icecast directory (it's listed at Loudcity and Live365). I read the instructions about uncommenting. Please forgive my not knowing exactly what uncommenting means.

Do I remove the exclamation point or something similar in the part of the Configuration editor that will allow my station to be listed at the Icecast directory. Are there other things I need to do in the Configuration editor in order to cause my station be listed? I downloaded this for Windows XP:
Windows NT/2000/XP icecast2_win32_v2.3.1_setup.exe


Any help concerning this would be much appreciated. Thank you.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Nov 13, 2007 12:21 am    Post subject: Reply with quote

In xml the <!-- and --> identify the start and end markers for a comment, ie something to be ignored. To list your stream(s) you need to make sure the particular directory server is listed, that the stream is marked as public and you supply valid details for connecting to the server. If hostname is set to something like 192.168.x.x or you have a firewall blocking external access then don't expect the stream to list.

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





PostPosted: Tue Nov 13, 2007 12:50 am    Post subject: Reply with quote

I use Sam Broadcaster, and in the encoder window I indicated list publicly, and, indeed, when I type into the address bar the listening link for my station, it the audio players does launch. The Icecast server is on a dedicated server, which has several publicly accessible ip addresses for my server. For the Icecast server I used one of those addresses, and in the configuration editor I typed into the relevant places that ip address.

Back at the content source, which I think means at the Sam broadcaster, in the encoder for Icecast2 I typed in the publicly available ip address as well as the password I specified in the Configuration editor for the Icecast server.

I'm sorry to ask you, but how do mean to indicate uncomment in the xml <!-- and -->. I'm not familiar with that language. By uncomment do you mean that I should delete what is between these symbols? Instead should I type in what you specified? I'm not sure. Is the symbol you specified located in the Configuration Editor, as I mentioned above?

There is no firewall on the dedicated server or the computer wherein the Sam broadcaster is residing.

Thank you.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Nov 13, 2007 1:07 am    Post subject: Reply with quote

In xml, anything between <!-- and --> is ignored, so if you have the directory tags surrounded by those then they will be ignored. In such cases if you remove the <!-- and --> then whatever was between them is now not ignored. A common trick to load the xml into a browser like firefox and that will show comments quite easily.

When it says public, then that means it will list the stream, as you may not want all your streams to listed. The fact that a stream is not public does not prevent a listener from connecting.

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





PostPosted: Tue Nov 13, 2007 1:37 am    Post subject: Reply with quote

Thank you much for the helpful reply. That's good to know about the code you mentioned.

In the configuration editor herewith is the what appears as a matter of course, without any modifications on my part:

<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->


Thus, if I want my station to be listed at the Icecast directory, should I place this, <!-- and -->, somewhere above? Should I delete what's there and add <!-- and -->? I think what I'm asking is where would you recommend my typing this in the section above? What else above should I leave intact?

And the next part seems self-explanatory in the sense that I would type in the name of my station for local host, but I'm not sure:


<!-- 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>localhost</hostname>

About the Sam broadcaster, the encoder reads "List on public station listing", which, in the case of the encoder I configured for Icecast, is checked, as I want my station to be publicly available. As I wrote above,
my station can be accessed by typing into an address bar the public ip address of my dedicated server, wherein the Icecast server resides.

My station's name is Radio Orenovscotia.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Nov 13, 2007 2:19 am    Post subject: Reply with quote

I don't know how more obvious to make it. In the posted sample you have just given, there are 2 comments. one is

<!-- Uncomment this if you want directory listings -->

the other is the rest of the sample.

Obviously the first one you leave as is, because it's trying to be descriptive, the second comment though you uncomment, by removing the start (<!--) and end (-->) markers.

Just for informational purposes, the second directory listed there has not been available for sometime. Just specify the one at dir.xiph.org

As for the hostname, yes, you are meant to put in the address or name that your listeners would use. I think all the YP servers prevent listing streams where the server cannot be contacted.

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





PostPosted: Tue Nov 13, 2007 3:42 am    Post subject: Reply with quote

Dear Karl,

I greatly appreciate your help. Please understand that there are those, like me, who became involved in Internet radio fairly late in life, and, for my part, I've been involved in it for but a brief time. Although I've learned some fundamentals of Html, for example, I am not cognizant of many its aspects yet. I know nothing about xml.

I have no doubt that my question seemed to you repetitious or obvious. I am sorry that I did not grasp as quickly the concept you were trying to convey. I started using Icecast just yesterday.

Thank you.

P.S. I think I was able to get my station listed. Thank you again.
Back to top
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