View previous topic :: View next topic |
Author |
Message |
Droopy
Joined: 16 Oct 2013 Posts: 9
|
Posted: Fri Oct 18, 2013 2:31 pm Post subject: Can't get Listed ! |
|
|
Hi all, I'm new to the forum and I hope I am at the right place to post this question. First I tell you that I'm on windows 7 64 bits. I use icecast (latest) and Oddcast on winamp. All is working perfectly. I us OGG format and I love it. Everything is on my pc, client and server.
My problem is that I can't be listed in the icecast directory. Here is my portion in icecast.xml :
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi?action=add</yp-url>
</directory>
I get this error message in the log :
[2013-10-18 10:25:56] EROR yp/yp.c YP add on http://dir.xiph.org/cgi-bin/yp-cgi?action=add failed: Add refused. Reason: Not enough arguments.
Can you help me with this please, would be greaaaaatly apreciated.
Sorry for my poor english, I,m french
Thanks ! |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 18, 2013 7:09 pm Post subject: |
|
|
drop the action=add part, the URL you specify does not take args, those are added on my icecast.
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
karl. |
|
Back to top |
|
|
Droopy
Joined: 16 Oct 2013 Posts: 9
|
Posted: Fri Oct 18, 2013 7:26 pm Post subject: Karl... |
|
|
Thanks Karl, I've put in this :
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
still get the same message
My router is open on port 8000
My firewall is letting through everything from icecast...
don't know what's wrong. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Oct 19, 2013 4:14 pm Post subject: |
|
|
If you are getting the same message then you have not restarted the icecast with the changes in question. You will never see the ?action=add part in the error log because icecast uses POST to send those details not GET.
If you actually meant to say that you get the same message with the URL corrected the that is different and you would need to check what settings have been provided by the source. That message is from the directory making sure the mandatory arguments have been supplied which are content type, stream name, listen url and bitrate IIRC, so check your stream stats. If you source client does not send those then you should be able to fill in the rest in the <mount> options
karl. |
|
Back to top |
|
|
Droopy
Joined: 16 Oct 2013 Posts: 9
|
Posted: Sun Oct 20, 2013 12:38 am Post subject: karl, url |
|
|
hey here is the error in my log :
[2013-10-19 18:23:18] EROR yp/yp.c YP add on http://dir.xiph.org/cgi-bin/yp-cgi failed: Add refused. Reason: Not enough arguments.
I've put in all the fields in the YP in oddcast.
Can't see what's wrong.
hum..... |
|
Back to top |
|
|
Droopy
Joined: 16 Oct 2013 Posts: 9
|
Posted: Sun Oct 20, 2013 12:55 pm Post subject: Karl, url next.... |
|
|
Here is the section for YP , maybe this will help you more to see the problem :
[2013-10-19 18:22:10] INFO yp/yp.c YP update thread started
[2013-10-19 18:22:10] INFO connection/connection.c No SSL capability
[2013-10-19 18:22:17] INFO connection/connection.c Source logging in at mountpoint "/stream.ogg"
[2013-10-19 18:22:17] WARN stats/stats.c seen non-UTF8 data, probably incorrect metadata (genre, Varié)
[2013-10-19 18:22:17] WARN stats/stats.c seen non-UTF8 data, probably incorrect metadata (stream_start, Sat, 19 Oct 2013 18:22:17 Est (heure d’été))
[2013-10-19 18:22:17] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2013-10-19 18:22:17] INFO source/source.c listener count on /stream.ogg now 0
[2013-10-19 18:22:17] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2013-10-19 18:22:18] WARN stats/stats.c seen non-UTF8 data, probably incorrect metadata (genre, Varié)
[2013-10-19 18:23:18] EROR yp/yp.c YP add on http://dir.xiph.org/cgi-bin/yp-cgi failed: Add refused. Reason: Not enough arguments.
I see WARN about UTF 8 ... mmm
Thanks |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 21, 2013 9:17 am Post subject: |
|
|
I believe genre may also be classed as required and seeing that yours is invalid (not utf8) then it's being ignored. Fix the character set that you source client is sending so that it is valid (Various is valid for example) but if you want non-ascii then use UTF8 as that is required by ogg.
karl. |
|
Back to top |
|
|
Droopy
Joined: 16 Oct 2013 Posts: 9
|
Posted: Wed Dec 18, 2013 3:46 pm Post subject: |
|
|
Bah nothing works...I've just came back from vacation, tryied it again and nothing. Can't see where to change the utf 8 thing. It should be simple, I just want to get listed on the server lollllll
grrr....anyway. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Dec 20, 2013 2:25 am Post subject: |
|
|
there are some bits of information that are required, something is missing, stream name, type, genre and listenurl. The listenurl is generated by icecast so it won't be that, genre may not be in utf8 so try fixing that first, try something simple. Check your source client configuration for the genre setting.
karl. |
|
Back to top |
|
|
Droopy
Joined: 16 Oct 2013 Posts: 9
|
Posted: Fri Dec 20, 2013 1:43 pm Post subject: |
|
|
My YP settings in Oddcast v3 are all full. Various I put yes.
All sections in YP as something in it. Nothing left empty.
This is my icecast2 configuration file :
!-- This config file contains a minimal set of configurable parameters,
and mostly just contains the things you need to change. We created
this for those who got scared away from the rather large and heavily
commented icecast.xml.dist file. -->
<icecast>
<limits>
<sources>2</sources>
<clients>15</clients>
</limits>
<authentication>
<source-password>xxxxx</source-password>
<relay-password>xxxxx</relay-password>
<admin-user>xxxxx</admin-user>
<admin-password>xxxxx</admin-password>
</authentication>
<hostname>palacedesanciens.serveftp.com</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<mount>
<mount-name>/stream.ogg</mount-name>
<password>xxxxx</password>
</mount>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
</icecast>
Here ya go....everything looks alright I think ?
Thanks |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Dec 21, 2013 12:06 am Post subject: |
|
|
Obviously the icecast config file will not state the information passed by the source client, connect the source and look at the /admin/stats for that mountpoint. The 4 key items should be present on there.
karl. |
|
Back to top |
|
|
|