A radio station manager program that queues and plays all songs (mp3s, m4as, etc.) received by email.
Tested on Ubuntu 11.04 and with Raspberry Pi, running python versions 2.7.1 and 2.7.3. See requirements.txt
for required python libraries and versions.
- Uses
mpd
to play music - Ability to add jingles between songs!
- "Now playing" Twitter feed
- Email response for successful submissions
apt-get install pip mpd mpc
pip install -U -r requirements.txt
git clone [email protected]:boxysean/airadio.git
cp air_download.conf.sample air_download.conf
- Edit
air_download.conf
(suggest making a new email account for this) python air_manager.py
(may need to run as root)
To make this a service on startup (from here):
- Edit
AIR_DIR
variable ininit.d/airadio
sudo cp init.d/airadio /etc/init.d/
update-rc.d airadio defaults
This project can be paired with an FM transmitter to create a community pirate radio station. We ran this software on a Raspberry Pi paired with a low-power FM transmitter, see more.
mpd
has built in functionality to stream what it plays to an Icecast server. This gives you the option to stream Autonomous Interactive Radio to your friends via the Internet. Learn how to do this.
Learn how to do this on a Raspberry Pi, but I warn you that the Raspi is CPU-bound when it does this and tends to have choppy playback.
Check it out here!