Thank you for your donation!


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


Solved: Internet Radio url: error curl failed to decode
#1
Hi I updated to 9.1.3 and I wonder if 9.1.3 altered or affected the implementation of urls for the radio stations. The stations already in Moode seem fine but some of the new stations I have created have problems. These stations fail to connect with the error failed to decode (or resolve host name). These urls work for me in VLC. But my problem urls are not as simple as a mp3 link. One opens to a selection of urls (VLC just picks the first one in the list - this is KUSC. You can manually pick others - they all work in VLC). The second type contain hyphens (KlasuPro, Finland) and third type are .pls (BBC World Service).

I have copied the moode startup log at the end.

They all seemed to be working well and the only change is I updated to 9.1.3. Of course this may just be a coincidence and something else is causing the problem. I just wondered about 9.1.3!

One solution could be to add these three stations to your current Moode list - apart from the World Service (which I use for news) they are all really good classical music stations. KlasuPro hopes to do CD quality sound!

Thanks

Fred
Code:
0241022 110410 worker: --
20241022 110411 worker: -- Start moOde 9 series
20241022 110411 worker: --
20241022 110411 worker: Successfully daemonized
20241022 110411 worker: Wait for Linux startup
20241022 110411 worker: Linux startup complete
20241022 110411 worker: Boot config is ok
20241022 110412 worker: Session loaded
20241022 110415 worker: Package locks applied
20241022 110416 worker: File check complete
20241022 110416 worker: Log to RAM    on
20241022 110416 worker: Debug logging off
20241022 110416 worker: --
20241022 110416 worker: -- System
20241022 110416 worker: --
20241022 110419 worker: Host name:     Moode
20241022 110419 worker: RPi model:     Pi-3B 1.2 1GB
20241022 110419 worker: moOde release: 9.1.3 2024-10-16
20241022 110419 worker: RaspiOS:       12.6 Bookworm 64-bit
20241022 110419 worker: Linux Kernel:  6.6.51 64-bit
20241022 110419 worker: MPD version:   0.23.14
20241022 110419 worker: User id:       pi
20241022 110419 worker: Home folder:   /home/pi
20241022 110419 worker: Time zone:     Europe/London
20241022 110419 worker: Kbd layout:    gb
20241022 110419 worker: HDMI ports(s): on
20241022 110419 worker: HDMI-CEC:      off
20241022 110419 worker: Sys LED0:      on
20241022 110419 worker: Sys LED1:      on
20241022 110419 worker: Reduce power:  n/a
20241022 110419 worker: CPU governor:  ondemand
20241022 110419 worker: Integ audio:   vc4-kms-v3d
20241022 110419 worker: --
20241022 110419 worker: -- Network
20241022 110419 worker: --
20241022 110419 worker: Eth0
20241022 110419 worker: Ethernet: adapter exists
20241022 110419 worker: Ethernet: timeout off
20241022 110419 worker: Ethernet: method  dhcp
20241022 110419 worker: Ethernet: address 192.168.1.190
20241022 110419 worker: Ethernet: netmask 255.255.255.0
20241022 110419 worker: Ethernet: gateway 192.168.1.1
20241022 110419 worker: Ethernet: pri DNS 192.168.1.1
20241022 110419 worker: Ethernet: domain  none found
20241022 110419 worker: Wlan0
20241022 110419 worker: Wireless: adapter does not exist
20241022 110419 worker: --
20241022 110419 worker: -- File sharing
20241022 110419 worker: --
20241022 110419 worker: SMB file sharing:  off
20241022 110419 worker: NFS file sharing:  off
20241022 110419 worker: DLNA file sharing: on
20241022 110419 worker: --
20241022 110419 worker: -- Special configs
20241022 110419 worker: --
20241022 110419 worker: Plexamp:          not installed
20241022 110419 worker: RoonBridge:       not installed
20241022 110419 worker: Allo Piano 2.1:   not detected
20241022 110419 worker: Allo Boss 2:      not detected, OLED script ok
20241022 110419 worker: IQaudIO AMP*:     not detected
20241022 110419 worker: --
20241022 110419 worker: -- ALSA debug
20241022 110419 worker: --
20241022 110419 worker: Cards:  0:vc4hdmi         1:sndrpihifiberry 2:empty           3:empty          
20241022 110419 worker:         4:empty           5:empty           6:empty           7:empty          
20241022 110420 worker: Mixers: 0:none            1:none            2:none            3:none            
20241022 110420 worker:         4:none            5:none            6:none            7:none            
20241022 110420 worker: --
20241022 110420 worker: -- Audio configuration
20241022 110420 worker: --
20241022 110420 worker: Audio device:  1:HiFiBerry Digi+ Pro
20241022 110420 worker: ALSA card:     has not been reassigned
20241022 110420 worker: MPD config:    update not needed
20241022 110421 worker: ALSA output:   I2S
20241022 110421 worker: ALSA mode:     Default (plughw)
20241022 110421 worker: ALSA mixer     none exists
20241022 110424 worker: ALSA volume:   controller not detected
20241022 110424 worker: ALSA maxvol:   100%
20241022 110424 worker: ALSA loopback: off
20241022 110424 worker: MPD mixer      Software
20241022 110424 worker: Audio formats: S16_LE, S24_LE
20241022 110424 worker: CamillaDSP:    off
20241022 110424 worker: CDSP volume:   0dB
20241022 110424 worker: CDSP volrange: 60dB
20241022 110424 worker: --
20241022 110424 worker: -- MPD startup
20241022 110424 worker: --
20241022 110425 worker: MPD service:        started
20241022 110425 worker: MPD port 6600:      accepting connections
20241022 110425 worker: MPD ALSA Default:   on
20241022 110425 worker: MPD ALSA Bluetooth: off
20241022 110425 worker: MPD HTTP Server:    off
20241022 110425 worker: MPD volume:         100
20241022 110425 worker: Saved MPD vol:      -1
20241022 110425 worker: Saved SRC vol:      0
20241022 110425 worker: MPD crossfade:      off
20241022 110425 worker: MPD ignore CUE:     no
20241022 110425 worker: MPD CDSP volsync:   off
20241022 110425 worker: --
20241022 110425 worker: -- Music sources
20241022 110425 worker: --
20241022 110425 worker: USB drives:     none
20241022 110425 worker: NVMe drives:    none
20241022 110425 worker: NAS source:     WDMYCLOUD (smb)
20241022 110429 worker: --
20241022 110429 worker: -- Feature availability
20241022 110429 worker: --
20241022 110429 worker: Input select:    available, Source: MPD, Output: HiFiBerry Digi+ Pro
20241022 110429 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20241022 110429 worker: AirPlay:         available
20241022 110429 worker: Spotify Connect: available
20241022 110429 worker: Squeezelite:     available
20241022 110429 worker: UPnP client:     started
20241022 110429 worker: Plexamp:         not installed, ALSA maxvol: 100%
20241022 110429 worker: RoonBridge:      not installed
20241022 110429 worker: Multiroom:       available
20241022 110429 worker: GPIO buttons:    available
20241022 110429 worker: Stream recorder: n/a
20241022 110429 worker: --
20241022 110429 worker: -- Security
20241022 110429 worker: --
20241022 110429 worker: Web SSH server:    off
20241022 110429 worker: XSS detection:     off
20241022 110429 worker: HTTPS mode:        available
20241022 110429 worker: --
20241022 110429 worker: -- Peripherals
20241022 110429 worker: --
20241022 110432 worker: Local display:   off
20241022 110432 worker: Chromium ver:    129.0.6668.100-1~deb12u1+rpt1
20241022 110432 worker: Rpi backlight:   off
20241022 110432 worker: HDMI 4K 60Hz:    off
20241022 110432 worker: Disable GPU:     off
20241022 110432 worker: On-screen kbd:   off
20241022 110432 worker: Rotary encoder:  off
20241022 110432 worker: USB volume knob: off
20241022 110432 worker: LCD updater:     off
20241022 110432 worker: --
20241022 110432 worker: -- Miscellaneous
20241022 110432 worker: --
20241022 110432 worker: Software update:   Automatic check off
20241022 110432 worker: Auto-CoverView:    off
20241022 110432 worker: CoverView timeout: Never
20241022 110432 worker: Auto-shuffle:      off
20241022 110432 worker: Auto-play:         off
20241022 110432 worker: Maintenance task:  360 mins
20241022 110432 worker: Current view:      reset to Playback
20241022 110432 worker: Active flags:      all false
20241022 110432 worker: Reset flags:       skipped
20241022 110433 worker: Session check:     ok
20241022 110433 worker: --
20241022 110433 worker: -- Startup complete
20241022 110433 worker: --
20241022 110433 worker: Mount monitor:    started
20241022 110433 worker: Radio monitor:    off
20241022 110433 worker: Watchdog monitor: started
20241022 110433 worker: Responsiveness:   Default
20241022 110433 worker: Ready
Reply
#2
Playable URL

   
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Quote: These urls work for me in VLC.

1. You didn't share any of your URLs with us to examine.
2. VLC works extremely hard to suss out the actual playable stream(s).
3. The MPD stream decoder(s) do not. As Tim pointed out, you have to feed MPD, hence moOde, the URLs of playable streams.


Regards,
Kent
Reply
#4
Actually MPD supports pls files containing playable URL's but Moode's radio feature does not because it uses the stations playable URL as the key that ties together the station metadata, cover art and audio information.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(10-24-2024, 02:35 PM)Tim Curtis Wrote: Actually MPD supports pls files containing playable URL's but Moode's radio feature does not because it uses the stations playable URL as the key that ties together the station metadata, cover art and audio information.

Now that you say it, I remember I used to know it. Rolleyes  The older I get, the smarter I used to be.

Even so, VLC is especially tenacious. Definitely a go-to tool.

Regards,
Kent
Reply
#6
Apologies for not adding the url's that are not working. They are:

http://wsdownload.bbc.co.uk/worldservice.../eieuk.pls

http://96.aac.pls.kusc.live

http://rondo.iradio.fr:8000/klasupro-hi.mp3

I was a bit over engaged by why they are not be working now! All these urls used to work with Moode. Of course it could be that the station has changed it's own way of using them - the BBC is very good at this and KlasuPro has been known to disappear.

Best Regards

Fred
Reply
#7
(10-24-2024, 03:00 PM)feh123 Wrote: Apologies for not adding the url's that are not working. They are:

http://wsdownload.bbc.co.uk/worldservice.../eieuk.pls

http://96.aac.pls.kusc.live

http://rondo.iradio.fr:8000/klasupro-hi.mp3

I was a bit over engaged by why they are not be working now! All these urls used to work with Moode. Of course it could be that the station has changed it's own way of using them - the BBC is very good at this and KlasuPro has been known to disappear.

Best Regards

Fred

Hi, Fred.

So, from the command line


Code:
rho@bookworm:~ $ curl http://wsdownload.bbc.co.uk/worldservice/meta/live/shoutcast/mp3/eieuk.pls
[playlist]
numberofentries=1
File1=http://stream.live.vc.bbcmedia.co.uk/bbc_world_service
Title1=BBC World Service Online
Length1=-1

The File1=  entry is a playable URL that works fine for me here in USA.

Code:
rho@bookworm:~ $ curl http://96.aac.pls.kusc.live/
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>cloudflare</center>
</body>
</html>

Moved permanently, eh. Well, let's see where

Code:
rho@bookworm:~ $ curl -L http://96.aac.pls.kusc.live/
[playlist]
File1=https://25063.live.streamtheworld.com:443/KUSCAAC96_SC
File2=https://27283.live.streamtheworld.com:443/KUSCAAC96_SC
File3=https://14103.live.streamtheworld.com:443/KUSCAAC96_SC
Title1=KUSCAAC96_SC
Title2=KUSCAAC96_SC-Bak
Length1=-1
NumberOfEntries=3

Again, the File1= entry works fine foe me as a playable URL.

Code:
rho@bookworm:~ $ curl http://rondo.iradio.fr:8000/klasupro-hi.mp3
curl: (6) Could not resolve host: rondo.iradio.fr
rho@bookworm:~ $

As you say, KlausPro has been known to disappear.

Regards,
Kent
Reply
#8
Thanks Kent for doing this. BBC World Service is now working for me with the .pls url! However KUSC still gives the error. How are you getting to the command line? I will try that too.

Thanks again.

Fred
Reply
#9
(10-24-2024, 05:15 PM)feh123 Wrote: Thanks Kent for doing this. BBC World Service is now working for me with the .pls url! However KUSC still gives the error. How are you getting to the command line? I will try that too.

Thanks again.

Fred

Either ssh to the moOde player from somewhere else or use moOde’s built-in Web SSH Terminal. It’s reachable from the System configure screen.

However, for these two stations,  you could just cut-n-paste the URLs from what I posted.


Regards,
Kent
Reply
#10
Thanks Kent the -L command is really useful! I added the file addresses for KUSC and World Service and that worked well. I have tried to email KlasuPro so ask why their link is no longer working.

Best Regards

Fred
Reply


Forum Jump: