Listening to an Internet Radio Station on OSMC

I am trying to listen to an internet radio station on OSMC. I got the URL from https://streamurl.link/. The radio station is CKUA Radio Network and the URL is listed as https://ais-sa1.streamon.fm/7000_64k.mp3. I created a .strm file in the OSMC Music folder. When I try to play the file from Music by selecting the .strm file I get the OSMC sad face. If I try it a second time I get a black screen with the OSMC login prompt.

I have also tried by making an m3u file but I get the same results.

I’m running OSMC 20 on a raspberry pi 3+.

logfile is https://paste.osmc.tv/atidutuqen

While your approach should work it is much easier just to install the Radio addon under Music Addons

I want only the one station and as you say, my approach should work, then why doesn’t it?

I use the Radio Addon for exactly one station :wink:

Hard to say without logs.
Maybe first share your strm file to check for us.

I created a file called ckua.strm in the Music folder and added this line

https://ais-sa1.streamon.fm/7000_64k.mp3

I had to put quotes around the url or else is showed the link as a music player here.

The logs are https://paste.osmc.tv/atidutuqen

Do it via a ckua.m3u file with this content:

#EXTM3U
#EXTINF:-1,CKUA Radio Network
https://ais-sa1.streamon.fm/7000_64k.mp3

I tried before without success but I tried again using exactly what you have pasted. I select Music, select the m3u file and I get the same OSMC sad face.

uploaded logs to https://paste.osmc.tv/nojakoxiqa

@fzinken’s file works for me, albeit on Vero. You seem to have a lot of errors in your log. Try a fresh install on a new SD card.

I created a .strm file with the content https://... .mp3 and it worked immediately on an RPi 4.

Thanks for the replies. Everything on my OSMC/pi works fine other than the playing of the m4u or strm internet radio. There must be something I can check/diagnose rather than trying a new install?

I’m no expert on RPi but there’s no clues for me in your log. Just a segmentation fault and then lots of this

Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: GL_INVALID_VALUE in glEnableVertexAttribArray(index)
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: 1 similar GL_INVALID_VALUE errors
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: GL_INVALID_VALUE in glDisableVertexAttribArray(index)
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: 1 similar GL_INVALID_VALUE errors
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: GL_INVALID_VALUE in glEnableVertexAttribArray(index)
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: 1 similar GL_INVALID_VALUE errors
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: GL_INVALID_VALUE in glDisableVertexAttribArray(index)
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: 1 similar GL_INVALID_VALUE errors
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: GL_INVALID_VALUE in glEnableVertexAttribArray(index)
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: 1 similar GL_INVALID_VALUE errors
Feb 20 11:15:16 osmc mediacenter[1010]: Mesa: error: GL_INVALID_VALUE in glDisableVertexAttribArray(index)

Maybe someone else can see/suggest something but I would suspect a worn SD card.

Try my suggestion using the Radio Add on

The Radio Add-On did not have the radio station I wanted.

I took grahamh’s advise and re-installed OSMC. With the basic install I tried my m3u file and it worked ok. Rather than have to customize everything the way it was previously I ran my back up settings but that just caused the m3u to fail again. I did another re-installed and spent the time to customize everything back to how I had it.

Now I’m trying to get the radio station logo to show when I run the the m3u file.

#EXTM3U
#EXTINF:-1 tvg-logo=“ckua.jpg” group-title=“Undefined”, CKUA
https://ais-sa1.streamon.fm/7000_64k.mp3

#EXTINF:-1 tvg-logo=“aro.png” group-title=“Undefined”, Ambient Radio
https://uk2.internet-radio.com/proxy/ambientradio?mp=/stream"

#EXTINF:-1 tvg-logo=“wmr.png” group-title=“Undefined”, World Music Radio
https://stream.probroadcast.dk/wmrmp3