| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Mon Jun 16, 2008 11:12 am Post subject: error listing @ dir.xiph.org |
|
|
Hi,
I run icecast 2.3.1-r1 and ices 2.0.1-r1 on a linux box.
I get the following error from dir.xiph.org.
EROR yp/send_to_yp YP add on http://dir.xiph.org/cgi-bin/yp-cgi failed: Add refused. Reason: Not enough arguments.
I figured out that the arguments needed are
$mandatory_args = array('sn', 'type', 'genre', 'b', 'listenurl');
how do these correspond to the ices.xml config file ?
I have
<name></name>
<genre></genre>
<description></description>
<url><url>
what else is needed?
cheers,
mod |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Jun 16, 2008 1:50 pm Post subject: |
|
|
Is this a configuration of ices where you are not encoding? As an immediate work around you can use the <bitrate> mount setting in icecast. The latest release of icecast should work around this without any changes.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Jun 17, 2008 2:21 pm Post subject: |
|
|
Hi Karl
I do encode. Here are the ices.xml lines
<encode>
<samplerate>44100</samplerate>
<channels>2</channels>
<quality>6</quality>
</encode>
Is there something else I must add? |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Jun 17, 2008 8:16 pm Post subject: |
|
|
| I updated Icecast to version 2.3.2 and it worked. |
|
| Back to top |
|
 |
yourlord
Joined: 17 Jun 2008 Posts: 6
|
Posted: Tue Jun 17, 2008 10:21 pm Post subject: same issue |
|
|
I'm having the same issue now.
I happily putted along for quite some time (October of 2005?) with my radio stations playing wonderfully, and my streams have been listed at xiph the whole time.
I dropped in for a spot check to see if the listing was up and found they were not in the directory anymore.
I checked my logs and found:
[2008-06-17 18:15:31] EROR yp/send_to_yp YP add on http://dir.xiph.org/cgi-bin/yp-cgi failed: Add refused. Reason: Not enough arguments.
[2008-06-17 18:15:56] EROR yp/send_to_yp YP add on http://dir.xiph.org/cgi-bin/yp-cgi failed: Add refused. Reason: Not enough arguments.
These streams had been listed in the directory for over 2.5 years.
What has changed on the directory side that my server is not sending.
I'm running icecast 2.2.0 (i know it's outdated)
ices .4
and ices2 i'm not sure the version.. can't figure out the command line option for it right now..
do i need to add something to my config? I really would prefer to stick with my current server setup.
Thanks! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jun 17, 2008 10:43 pm Post subject: |
|
|
I cannot stress enough that you should update icecast (from 2.2.0). 2.3.2 has so many fixes over 2.2.0 that it's not worth considering 2.2.0 any more. WRT the YP requests, without more details about the server (no stats are showing) then it will be difficult to say but it's more than likely down to a missing bitrate value from the source client and the answer will invariably include the updating of icecast.
karl. |
|
| Back to top |
|
 |
yourlord
Joined: 17 Jun 2008 Posts: 6
|
Posted: Tue Jun 17, 2008 11:04 pm Post subject: |
|
|
both of my sources encode at a specific bit rate.
I don't have a ton of time to mess around with the trials and tribulations of upgrading icecast right now.
I've been thinking long and hard about moving the icecast server and sources onto my main server as they don't take that much horsepower and that machine has been upgraded heavily since this was originally setup back in '05. I may make this the occasion to do that and upgrade while I'm at it.
The icecast server is the only critical thing left running on that box, so I could retire that machine or use it for other duties..
In case you're wondering, here are some sample parts from the ices2 config.
| Code: |
<metadata>
<name>Delusional Mind</name>
<genre>Rock/Metal</genre>
<description>Music by the band Delusional Mind</description>
<url>http://www.delusionalmind.com</url>
<Public>1</Public>
</metadata>
<input>
<module>playlist</module>
<param name="type">basic</param>
<param name="file">/nunya.txt</param>
<!-- random play -->
<param name="random">1</param>
<!-- if the playlist get updated that start at the beginning -->
<param name="restart-after-reread">0</param>
<!-- if set to 1 , plays once through, then exits. -->
<param name="once">0</param>
</input>
<encode>
<nominal-bitrate>128000</nominal-bitrate> <!-- bps. e.g. 64000 for 64 kbps -->
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
|
|
|
| Back to top |
|
 |
|