How to stream coderadio.freecodecamp.org via CLI?

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:

  1. 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]
  2. Tried downloading the M3U file from Icecast Streaming Media Server but that produced nothing useful
  3. Tried outputting PLS and M3U files from Radio Browser website, but these won’t play in CMUS.
  4. 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:
https://coderadio-relay-ffm.freecodecamp.org/radio/8010/radio.mp3

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

1 Like

(post deleted by author)

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.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.