Thank you for your donation!


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


Can not play a station (that works on Windows)
#3
Interesting to compare the two sources by looking at the metadata returned to the http request (an artful use of wget in debug mode)

For the original URL (minus the useless tracking info supplied by the trailing "?1578641935")

Code:
wget -d https://studio20.radiolize.com/radio/8000/320kbps.mp3
<elide the preliminary stuff>
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 26 Jan 2020 14:42:31 GMT
Content-Type: audio/aac
Transfer-Encoding: chunked
Connection: keep-alive
icy-br: 96
ice-audio-info: channels=2;samplerate=44100;bitrate=96
icy-name: Yammat FM
icy-pub: 1
icy-url: yammat.fm
Cache-Control: no-cache, no-store
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type
Access-Control-Allow-Methods: GET, OPTIONS, HEAD
Expires: Mon, 26 Jul 1997 05:00:00 GMT
X-XSS-Protection: 1
X-Content-Type-Options: nosniff
X-Robots-Tag: none
Referrer-Policy: no-referrer-when-downgrade

---response end---

and for  https://streaming.radio.co/s5ad4b474a/listen


Code:
wget -d https://streaming.radio.co/s5ad4b474a/listen
<elide the preliminary stuff>
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Content-Type: audio/aac
Date: Sun, 26 Jan 2020 14:43:21 GMT
icy-br:192
ice-audio-info: channels=2;samplerate=44100;bitrate=192
icy-br:192
icy-name:Yammat FM
icy-pub:1
icy-url:http://www.yammat.fm
Server: streaming-gravelines.radio.co
Cache-Control: no-cache, no-store
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type
Access-Control-Allow-Methods: GET, OPTIONS, HEAD
Connection: Close
Expires: Mon, 26 Jul 1997 05:00:00 GMT

---response end---

So the second URL supplies the same stream but at twice the bitrate.

Regards,
Kent
Reply


Messages In This Thread
RE: Can not play a station (that works on Windows) - by TheOldPresbyope - 01-26-2020, 04:06 PM

Forum Jump: