I’ve recently been really enjoying listening to Code Radio, but I am having a hard time getting it playing via CLI. I have a headless Raspberry Pi 1 which I use to listen to internet music streams using the CMUS program, so that any desktop reboots don’t kill my music vibes.
These are the methods I’ve tried so far, but none of them are working for me:
- Tried CMUS with the URL xttps://coderadio-admin.freecodecamp.org/radio/8010/radio.mp3 [I’m a new user, so it won’t let me have more than two links, this should start with an h and not an x]
- Tried downloading the M3U file from Icecast Streaming Media Server but that produced nothing useful
- Tried outputting PLS and M3U files from Radio Browser website, but these won’t play in CMUS.
- Tried using MOC with the URL xttps://coderadio-admin.freecodecamp.org/radio/8010/radio.mp3 & it says invalid URL [I’m a new user, so it won’t let me have more than two links, this should start with an h and not an x]
Can anyone help me figure out what URL format the CLI music players CMUS and MOC will work with? Thank you.
Using the chrome devtools, it looks like the data comes from:
I’m not sure the difference between the “admin” URL you’ve provided either.
I’m also not sure of the legalities of directly streaming the music. Lots of freeCodeCamp stuff is lenient but not completely “open”.
The music is also all copyrighted, it is allowed to stream on the Code Radio, but not anywhere else
Blockquote The music is also all copyrighted, it is allowed to stream on the Code Radio, but not anywhere else
I completely understand that. I am trying to stream Code Radio on a headless device without a web browser. Any suggestions on how to do this?
With testing, I’ve found that on a x86_64 linux desktop, one can run
clvc https://coderadio-relay-ffm.freecodecamp.org/radio/8010/radio.mp3 and it will work in the CLI, but on my ancient 2012 rasp pi 1 (ARM), there is no vlc available for the armhf (armv6) architecture for me to do this.
bump for any help or suggestions from anyone here. Again, I’m trying to stream this radio station on an ancient headless rasp pi 1 from 2012.