Play Internet radio stream from command line

Hi guys,

I would like to play/stop a radio “URL” stream from the command line. Is there anything that can be used with osmc/kodi?

Thank you

1 Like

Hi Toast, thank you for the “smart” response, I never thought about googling… The reality is that I do not want to play mp3s on my raspberry pi. I would like to open URL streams and I know that OSMC might not work properly when playing music from another source while it is open.

then i guess you will sort it out then :smile:

Use omxplayer (for performance) and pipe from stdout to stdin

wget http://someurl -O- | omxplayer (there are probably some flags needed for omxplayer) and you will need to install omxplayer.