Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Planet Rock Stream
#1
Trying to stream plantrock https://tx.planetradio.co.uk/icecast.php...etrock.mp3

if it try it just in browser it works however when i try to add to Moode radio and play i get this error:

MPD Error
Failed to decode
https://tx.planetradio.co.uk/icecast.php...etrock.mp3;
CURL failed:
Resolving timed out after 10001
milliseconds

Andy ideas?
Reply
#2
Your Planet Rock stream works for me on moode in the UK.

If you're still having problems try:

http://stream-mz.planetradio.co.uk/planetrock.mp3
Reply
#3
same error. just some of the default stations are doing the same. radio 4 works.

very strange
Reply
#4
I believe the high bit rate (320K) BBC stations are only available in the UK. I don't know if Planet Rock has similar geo fencing issues.

....looking at your first post, this isn't a geo fencing issue as it's available in your browser.
Reply
#5
@stanfordcg

You don't say where you are located.

I'm located in Maryland USA. In a quick check using browsers on my Linux laptop the URL you provided fails.

However, if I connect to the Internet via VPN to an exit portal in the UK the URL works and the stream plays. 

Hence geo-fencing seems likely.

The alternative URL provided by @Sniglar works for me both directly and via VPN.

I haven't examined the streams to see if there are differences in bitrate yada yada yada.

Regards,
Kent
Reply
#6
I am in the UK, nether streams works.

Just installed image of Volumeio and its doing exactly the same. 

could it be a hardware problem, I using HiFiBerry Digi+ pro. 

Just odd its not all the radio stations, just some.
Reply
#7
if i try to curl direct:
curl -o /dev/null https://tx.planetradio.co.uk/icecast.php...etrock.mp3
the file fails to download.
Reply
#8
(09-14-2021, 06:24 PM)stanfordcg Wrote: if i try to curl direct:
curl -o /dev/null https://tx.planetradio.co.uk/icecast.php...etrock.mp3
the file fails to download.

Yeah, this is an issue involving the Internet not your hardware.

When on my Linux laptop I ask curl for information about the URL I get different answers from a USA IP address and a UK IP address (e.g., via VPN)

1) USA

Code:
kreed@T520:~$ curl -I https://tx.planetradio.co.uk/icecast.php?i=planetrock.mp3
HTTP/1.1 403 Forbidden
...

2) UK

Code:
kreed@T520:~$ curl -I https://tx.planetradio.co.uk/icecast.php?i=planetrock.mp3
HTTP/1.1 302 Found
Date: Tue, 14 Sep 2021 18:33:42 GMT
Server: Apache
Set-Cookie: PHPSESSID=keoe2gpe61jrii18rdg9qisu75; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Location: http://edge-bauermz-03-gos2.sharp-stream.com/planetrock.mp3
Access-Control-Allow-Origin: *
Content-Type: text/html; charset=UTF-8

Aha. Note how it redirects to http://edge-bauermz-03-gos2.sharp-stream...etrock.mp3

Interestingly, this latter URL resolves to a music stream even from a USA IP address, to wit:


Code:
kreed@T520:~$ curl -I http://edge-bauermz-03-gos2.sharp-stream.com/planetrock.mp3
HTTP/1.0 200 OK
icy-br: 112
icy-pub: 0
icy-description: Unspecified description
icy-url:
Instance-id: 32c1fd9c4b6c73da8cb9d7f6c2207697
Cache-Control: no-cache
Server: edge-bauermz-03-gos2.sharp-stream.com 8.6.3
icy-genre: various
Expires: Mon, 26 Jul 1997 05:00:00 GMT
icy-metaint: 0
Pragma: no-cache
icy-name:
Connection: close
Content-Type: audio/mpeg
Set-Cookie: AISSessionId=613a8bb3004ac9e0_417747_e6Pepcp9_OTEuMTkzLjI0NS4xMDc!_00000007E6S; Path=/; Domain=edge-bauermz-03-gos2.sharp-stream.com; Max-Age=6000; Expires=Tue, 14 Sep 2021 20:15:50 GMT; SameSite=None; Secure

I'm listening to it as I type. See if you can play it too.

Regards,
Kent
Reply
#9
The redirected url worked.
Reply


Forum Jump: