ern0 / audiobroadcast

Simple web app for playing netradio streams on a Raspberry PI (or any Linux systems)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

audiobroadcast

Simple web app for playing netradio streams on a Raspberry PI (or any Linux systems)

Project Scope

Problem:

  • There is a radio set in the kitchen
  • I want to listen net radios (like D.I.)
  • I can connect my Android device to the radio set (it has AV in), but the router is too far, drops WiFi every 2 minutes

Solution:

Instructions

Install MPD on Raspberry PI:

sudo apt-get install mpd mpc

Download and copy files to a folder, e.g. /opt/audiobroadcast. Edit playlist.txt, one item per line, fields are separated with caret ('^'):

My Fav Radio^http://example.com/icon.png^http://example.com/stream.m3u
Another One^http://example.com/icon.jpg^http://example.com:9900/stream2.m3u

Launch Python app:

cd /opt/audiobroadcast
./radio.py

Point your browser to http://raspi:8888/ where "raspi" is your Raspberry PI's hostname or IP address. Connect your transmitter or amp to Raspberry PI. Push up the volume!

About

Simple web app for playing netradio streams on a Raspberry PI (or any Linux systems)


Languages

Language:HTML 78.6%Language:JavaScript 10.6%Language:CSS 6.1%Language:PHP 4.6%Language:Python 0.0%