Oliver Stirling wrote:> Oliver Stirling wrote: > >> My icecast server is behind a http proxy server, does anyone know of a >> program I can use to get icecast to send data to that will forward it >> to the yp dir? (I'm on linux btw) >> >> Oli >> >> --- >8 ---- >> List archives: http://www.xiph.org/archives/ >> icecast project homepage: http://www.icecast.org/ >> To unsubscribe from this list, send a message to >> 'icecast-request@xiph.org' >> containing only the word 'unsubscribe' in the body. No subject is >> needed. >> Unsubscribe messages sent to the list will be ignored/filtered. > > > Right, well I wrote a little php script, that icecast2 connects too and > then that forwards it to the yp server (hopefully), but it's not > appeared in the yp listing :( >Right figured that out, even got it to forward the headers, one thing I have noticed was that most stations have (aswell as the kbps quality) the frequency and mono/stereo anyone want to give me some example GET strings that have that info in? I can also update the "currently playing" info (on the listing) does anyone know how I can get that to update the actual streaminfo? I'm using darkice which doesn't have a method of doing that. With shoutcast (for my MP3 streams) I just have to access an URL and it updates that info, but I haven't found a method with Icecast2. Thanks. -- Oliver Stirling #===============# |Head of IT | |Junction11 | |www.1287am.com | #===============# Security bars are no defence against monkeys --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
>>Oliver Stirling wrote: >> >>>My icecast server is behind a http proxy server, does anyone know of a >>>program I can use to get icecast to send data to that will forward it to >>>the yp dir? (I'm on linux btw) >>> >>>Oliwhat's the actual problem with listing behind a http proxy ? Icecast2 shouldn't have any problems doing this. You may need to change the value of <hostname> in the icecast.xml config file (this is where the yp routines gets the information for the listen url). This is different then Shoutcast which would derive the listen url based off the IP of the listing client. The YP servers actually will use the IP of the listing client in some cases. This will happen if <hostname> is something like "localhost" or 192.168.* or 127.0.0.1, but if you make <hostname> www.myserver.com, then the listen URL on the YP will use that (even if your listing isn't coming from www.mysever.com)... oddsock <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
oddsock wrote:> >>> Oliver Stirling wrote: >>> >>>> My icecast server is behind a http proxy server, does anyone know of >>>> a program I can use to get icecast to send data to that will forward >>>> it to the yp dir? (I'm on linux btw) >>>> >>>> Oli > > what's the actual problem with listing behind a http proxy ? Icecast2 > shouldn't have any problems doing this. You may need to change the > value of <hostname> in the icecast.xml config file (this is where the yp > routines gets the information for the listen url). This is different > then Shoutcast which would derive the listen url based off the IP of the > listing client. The YP servers actually will use the IP of the listing > client in some cases. This will happen if <hostname> is something like > "localhost" or 192.168.* or 127.0.0.1, but if you make <hostname> > www.myserver.com, then the listen URL on the YP will use that (even if > your listing isn't coming from www.mysever.com)... > > oddsock > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered.Well, if I just connect to localhost then it will only send the data to localhost (not the yp server). What I've done is written a cheeky PHP script that gets around that though. (as usual) <p><p> -- Oliver Stirling #===============# |Head of IT | |Junction11 | |www.1287am.com | #===============# Security bars are no defence against monkeys --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.