Re: XMMS and redirected URLs
daniele <[email protected]> Thu, 23 Feb 2006 18:19:34 +0100
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
Fr=E9d=E9ric L. W. Meunier wrote: > Winamp (at least the latest version) handles it, but XMMS reports: >=20 > "Couldn't connect to host xxx > Server reported: 301 Moved Permanently" >=20 > I thought the redirection would be transparent for the player. Is there= =20 > anything I can do ? >=20 I had the same problem. The reason is, apparently, the error code in the=20 header. If the header only contains "Location: http://...\n\n", it's ok,=20 but if the server returns also an error code (301 or any other), the=20 redirect will not work. I know it because i'm using XMMS to test a channel that relies on=20 redirects... http://daniele.homelinux.org:9673/djradio/dijjer.m3u After removing "HTTP/1.1 301 Moved Permanently" from the header returned=20 by the cgi-bin script, xmms reads without problems the redirect.