subogero
Posts: 8
Joined: Wed Dec 19, 2012 12:03 pm
Location: Budapest
Contact: Website

rpi.fm - Command line internet radio

Wed Dec 19, 2012 1:02 pm

I've just written a small command-line internet radio program.
It uses internet-radio.com's stream database and omxplayer for actual playback.

Features:
- single letter commands
- chose from about 150 genres
- playback on HDMI or audio-jack
- auto-play last stream upon start
- quit but leave playback on in background

Download:
git clone https://github.com/subogero/rpi.fm.git
Please find installation instructions in the README.

Now I'm using it all the time, and sometimes ssh into the Raspberry Pi to change the station. Said fruit is otherwise functioning as a home printer/file server and media centre, connected to the LAN, the TV and the stereo all the time.

User avatar
poglad
Posts: 100
Joined: Tue Jul 31, 2012 8:47 am
Location: Aberdeen, Scotland
Contact: Website

Re: rpi.fm - Command line internet radio

Wed Dec 19, 2012 1:11 pm

Like!

lost84
Posts: 4
Joined: Tue May 29, 2012 9:45 pm

Re: rpi.fm - Command line internet radio

Wed Dec 26, 2012 9:26 pm

hi when I try to run this I get the following error, can you help?

Welcome to rpi.fm - Type ? for help
===================================
Permission denied at /usr/bin/rpi.fm line 151.

pipuppy
Posts: 90
Joined: Fri Aug 24, 2012 12:51 pm

Re: rpi.fm - Command line internet radio

Tue Jan 01, 2013 9:43 am

Hi subogero,
I have been testing your command-line internet radio program over the holiday period and would like to say "thanks" for making it available to us. It works really well and seems to be much more stable than some of the other options I have tested.

I dont really understand the perl script and writing programs is not really my strong-suit but I would like to have a go at using a version of your software as a stand-alone internet radio. The additional hardware and interfacing (switches etc) would be no problem for me as hardware is something I understand quite well.

Is it possible to "talk " to your software using a python script? The reason I ask is because python supports "wiring-pi" and other options which can be used to read the I/O lines and any switches buttons connected to them. My idea was to have a small database of a dozen or more stations written into the python code which could be selected by a switch or buttons. Any station updates could be done from time-to-time by editing the prog' via SSH or whatever.

Thanks again for a great piece of code for the pi and a happy & peaceful 2013 to all.

pipuppy
subogero wrote:I've just written a small command-line internet radio program.
It uses internet-radio.com's stream database and omxplayer for actual playback.

Features:
- single letter commands
- chose from about 150 genres
- playback on HDMI or audio-jack
- auto-play last stream upon start
- quit but leave playback on in background

Download:
git clone https://github.com/subogero/rpi.fm.git
Please find installation instructions in the README.

Now I'm using it all the time, and sometimes ssh into the Raspberry Pi to change the station. Said fruit is otherwise functioning as a home printer/file server and media centre, connected to the LAN, the TV and the stereo all the time.

ten_zip
Posts: 2
Joined: Sun Jul 14, 2013 7:47 pm

Re: rpi.fm - Command line internet radio

Sun Jul 14, 2013 7:53 pm

Subogero: Really nice work. Just found it and I've been using it all day.
As a noob, I appreciate the helpful Readme!

Return to “Graphics, sound and multimedia”