| View previous topic :: View next topic |
| Author |
Message |
sarit
Joined: 02 Jun 2010 Posts: 10
|
Posted: Wed Jun 02, 2010 12:17 am Post subject: How to be added to the list station? |
|
|
| Hello I'm newbie with broadcasting I understand I have to enter a certain code in xml file? I'll be glad for help... |
|
| Back to top |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Wed Jun 02, 2010 2:52 am Post subject: |
|
|
You need to add this to your config. file:
| Code: |
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory> |
and make sure that you wrote host (ip or url) in server settings. |
|
| Back to top |
|
 |
sarit
Joined: 02 Jun 2010 Posts: 10
|
Posted: Wed Jun 02, 2010 9:50 am Post subject: |
|
|
| golovlev wrote: |
You need to add this to your config. file:
| Code: |
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory> |
and make sure that you wrote host (ip or url) in server settings. |
Hi
Sorry for the ignorance I don't think i have this config file how i can get to him?
I have on the program files of Icecast some Xml files and there I dont have Config... |
|
| Back to top |
|
 |
sarit
Joined: 02 Jun 2010 Posts: 10
|
Posted: Wed Jun 02, 2010 10:15 am Post subject: |
|
|
I think is it the file I have on the icecast program
I have there only a line of "Yp" how i need to instret this code?
<listen-socket>
<port>8050</port>
</listen-socket>
<mount>
<mount-name>/new.ogg</mount-name>
<max-listeners>3</max-listeners>
<hidden>1</hidden>
<no-yp>1</no-yp>
<authentication type="htpasswd">
<option name="filename" value="passwords"/>
<option name="allow_duplicate_users" value="0"/>
</authentication> |
|
| Back to top |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Wed Jun 02, 2010 12:17 pm Post subject: |
|
|
Delete "no-yp" string and insert mine  |
|
| Back to top |
|
 |
sarit
Joined: 02 Jun 2010 Posts: 10
|
Posted: Wed Jun 02, 2010 3:00 pm Post subject: |
|
|
Hi
I now have this
<mount>
<mount-name>/new.ogg</mount-name>
<max-listeners>3</max-listeners>
<hidden>1</hidden>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<authentication type="htpasswd">
<option name="filename" value="passwords"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
When I come to look for my station on dir.xiph.org I don't find it...
My server is all conceted fine what can be the problem? |
|
| Back to top |
|
 |
sarit
Joined: 02 Jun 2010 Posts: 10
|
Posted: Wed Jun 02, 2010 4:17 pm Post subject: |
|
|
| I don't know what else to do... please help |
|
| Back to top |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Wed Jun 02, 2010 6:11 pm Post subject: |
|
|
Sorry, i forget to mention, you should also delete this line:
|
|
| Back to top |
|
 |
sarit
Joined: 02 Jun 2010 Posts: 10
|
Posted: Wed Jun 02, 2010 7:07 pm Post subject: |
|
|
Hi I've deleted it so now I have this and still when I'm looking for "Muzikana" I don't find... do any country can be included on the list?
On Edcast program I have a Yp Tab and there stream name so there I wrote "Muzikana" is there something else i have to do?
</listen-socket>
<mount>
<mount-name>/new.ogg</mount-name>
<max-listeners>3</max-listeners>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<authentication type="htpasswd">
<option name="filename" value="passwords"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>./</basedir>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
<security>
<chroot>0</chroot>
</security>
</icecast>
<!-- End Copy Here --> |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Jun 02, 2010 9:15 pm Post subject: |
|
|
I think a slight misunderstanding occurred. The directory tag block is not within a <mount> block, those tags are above outside of <mount>. In the samples we ship they are commented out with <!-- and --> The hidden setting does not affect directory listing, only whether is shows on the public xsl pages
karl. |
|
| Back to top |
|
 |
sarit
Joined: 02 Jun 2010 Posts: 10
|
Posted: Wed Jun 02, 2010 9:44 pm Post subject: |
|
|
Hi Karl thanks for responding
This is what I have now is that correct?
<listen-socket>
<port>8050</port>
</listen-socket>
<!-- and -->
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-
cgi</yp-url>
</directory>
<mount>
<mount-name>/new.ogg</mount-name>
<max-listeners>3</max-listeners>
<hidden>1</hidden>
<authentication type="htpasswd">
<option name="filename" value="passwords"/>
<option name="allow_duplicate_users"
value="0"/>
</authentication>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>./</basedir>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3
Info, 2 Warn, 1 Error -->
</logging>
<security>
<chroot>0</chroot>
</security>
</icecast>
<!-- End Copy Here --> |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Jun 03, 2010 10:09 am Post subject: |
|
|
obviously that is not the whole xml, as there is no hostname specified, but send me the error log of icecast starting and the streams starting up.
karl. |
|
| Back to top |
|
 |
sarit
Joined: 02 Jun 2010 Posts: 10
|
Posted: Thu Jun 03, 2010 10:19 am Post subject: |
|
|
Hi Karl
I sent you the whole file and also the error file if there is anything else you need to see tell me... thanks |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 04, 2010 12:33 am Post subject: |
|
|
the log sent shows the server starting and identifying that out directory would be used, but no stream is available so in those cases no listing is done. Only when you provide a public stream will an attempt be made.
karl. |
|
| Back to top |
|
 |
|