Author Topic: webradio redirect  (Read 1696 times)

ingo

  • Posts: 5
webradio redirect
« on: 27 Aug '20 - 08:31 »
In my large list of radio stations I often encounter stations that won't resolve in XMPlay. When I enter such an station url in Firefox it either plays an other station or tells me the redirect is done in a way it never completes. When checking with a simple python script it finds a redirect in most cases.

A random example that redirects fine with python3 urllib, not with XMPlay or FF:

old: http://streaming211.radionomy.com:80/static-classic-hip-hop
redirect : http://cast4.hoost.com.br:8270/autodj

Link checking this way showed me that many redirects are to the same station so my 80000+ station list will probably reduced to some 20000 or even less.

The latter makes me think, is a 'better' redirect a bug report, a feature request or just a note,

Cheers!

Ian @ un4seen

  • Administrator
  • Posts: 25460
Re: webradio redirect
« Reply #1 on: 27 Aug '20 - 14:40 »
That's strange. Neither of those URLs are redirecting here right now. If you capture the network traffic with Wireshark, does that show a redirect happening? If you have access to a VPN or other ISP, does using that change the results?

ingo

  • Posts: 5
Re: webradio redirect
« Reply #2 on: 28 Aug '20 - 08:49 »
Sorry Ian,

this morning with the same code the result is:

Code: [Select]
HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was: Temporarily Moved

maybe something wrong on my side of things,

have a nice weekend

Ian @ un4seen

  • Administrator
  • Posts: 25460
Re: webradio redirect
« Reply #3 on: 28 Aug '20 - 12:29 »
For more info on what's happening there, please capture the network traffic with Wireshark when you try to open the URL in XMPlay, and upload that to have a look at here:

   ftp.un4seen.com/incoming/

If you can, also try using a VPN or other ISP.