https://github.com/ern0/audiobroadcast
Simple web app for playing netradio streams on a Raspberry PI (or any Linux systems)
https://github.com/ern0/audiobroadcast
home-network radio raspberry-pi solution
Last synced: 3 months ago
JSON representation
Simple web app for playing netradio streams on a Raspberry PI (or any Linux systems)
- Host: GitHub
- URL: https://github.com/ern0/audiobroadcast
- Owner: ern0
- Created: 2015-07-13T22:52:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T17:00:27.000Z (over 9 years ago)
- Last Synced: 2023-08-03T09:11:40.353Z (over 2 years ago)
- Topics: home-network, radio, raspberry-pi, solution
- Language: HTML
- Homepage:
- Size: 5.75 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:**
- I have a Rasbperry PI
- I've installed MPD (Music Player Daemon)
- I've bought a cheap Chinese FM transmitter - http://s896.photobucket.com/user/Blarneyjon/media/Blarney-jon%203/Jwin_JACK702W_FM_Transmitter.jpg.html
- I've written this script to access my favourite stations from mobile
### 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!