https://github.com/janssenbrm/pi_radio
📻 Turn your Raspberry Pi into a streaming radio station
https://github.com/janssenbrm/pi_radio
flask python radio raspberrypi streaming
Last synced: about 2 months ago
JSON representation
📻 Turn your Raspberry Pi into a streaming radio station
- Host: GitHub
- URL: https://github.com/janssenbrm/pi_radio
- Owner: JanssenBrm
- Created: 2020-03-15T15:09:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-15T10:43:47.000Z (about 2 years ago)
- Last Synced: 2025-01-25T12:25:06.035Z (over 1 year ago)
- Topics: flask, python, radio, raspberrypi, streaming
- Language: HTML
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PI Radio 🍇
  
With the goal to put my Raspberry Pi to use as a streaming stataion, I've created this general purpose project. Using
the `flask` library, the code in this project will start a small webserver that serves a main webpage. By using the
controls on this page, a user can select to play/pause an online audio stream and change the volumen. Because everything
is controlled through a webpage, that is hosted by the device running the code, any other device on the same network can
be used to control what is being played.
In my case, I have used this project to turn my Raspberry Pi into a device that is able to play my favorite online radio
streams. After hooking up my Raspberry Pi to a set of speakers in the garden, I can now listen to some music outdoors.
And the best thing of it all, I can easily control what is being played by using my smartphone!

## Try it yourself!
Before you start exploring the project, make sure the following prerequisites are installed on your machine/device:
* `mpc` [](https://www.musicpd.org/clients/mpc/) - This library is required to control the playback of online streams
and volume controls.
* Python
Using the `conf/stations.json`, you can configure a set of online streams to provide on the main webpage. The only thing
left for you to do is to start the `app.py` script and listen to your tunes 🎵🤘🤘