Thank you for your donation!


Can not play a station (that works on Windows)
#1
At first - great work (and player). Especially this last update.

Other stations (such as http://50.31.135.43:80/wwoz-hi.mp3) work fine.
But my favorite https://studio20.radiolize.com/radio/800...1578641935 works fine in a (Windows, Chrome) browser but could not play it on RPI (latest moode).

pi@moode:/var/log/mpd $ uname -a
Linux moode 4.19.83-v7+ #1277 SMP Mon Nov 11 16:30:44 GMT 2019 armv7l GNU/Linux

From Log:

Jan 26 11:38 : player: played "https://studio20.radiolize.com/radio/8000/320kbps.mp3?1578641935"
Jan 26 11:38 : player: played "http://50.31.135.43:80/wwoz-hi.mp3"
Jan 26 11:43 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Jan 26 11:43 : alsa_output: Decoder is too slow; playing silence to avoid xrun
...
Jan 26 11:59 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Jan 26 11:59 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Jan 26 11:59 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Jan 26 11:59 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Jan 26 11:59 : alsa_output: Decoder is too slow; playing silence to avoid xrun
Jan 26 11:59 : player: played "https://studio20.radiolize.com/radio/8000/320kbps.mp3?1578641935"

If someone has a clue where to dig? I think that some codec update happened and mpd infrastructure simply does not support it (yet?).

Thank you,
Igor

PS. In VLC: input bitrate statistics - about 100kb/s (95-100). Codec Stream 0, MPEG AAC Audio mp4a, Stereo, 44100Hz, 32 bits per sample
In moode:
Audio Information
INPUT / OUTPUT
Source: https://studio20.radiolize.com/radio/800...1578641935
Encoded at: VBR compression
Decoded to: 24 bit, 48 kHz, Stereo,
Destination: Local
Output rate: 24 bit, 48 kHz, Stereo, 2.304 Mbps
DSP OPERATIONS
Volume ctl: Software (MPD 32-bit float with dither)
Resampling: off
Polarity inv: off
Crossfade: off
Crossfeed: off
Parametric EQ: off
Graphic EQ: off
Replaygain: off
Normalize vol: off
Chip options: FIR interpolation with de-emphasis, Gain=0dB, Boost=.8dB
AUDIO DEVICE
Device: IQaudIO Pi-DigiAMP+
Chip: Burr Brown TAS5756
Interface: I2S
Formats: S16_LE, S24_LE, S32_LE
Platform: Pi-3B+ 1GB v1.3
Reply
#2
Hi Igor

Some web browsers will let you inspect the online player and discover a stream url (search for details on the internet). In this case I got

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

It plays fine in Moode and is reported as 201kbps.

Adrian.
Reply
#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
#4
Thats cool :-) I didn't know that about wget.
Reply
#5
Hi guys,
You are THE BEST! Thank you very much!
Besides I've just learned what else to do with wget, except download url links Smile ... and that some urls have player implementation. It works perfectly well. And I wish to thank to Tim again for pushing this story forward!
I think that presently, this is the best small player option on RPI.
Best,
Igor
Reply


Forum Jump: