Simple embedded radio player.
Control device radio via local website and play online radio from given stream URL on Linux (e.g. Raspberry Pi).
version v.1.0
- playing radio from any audio stream,
- remote control and manage through web: local website, http rest api,
- database in json file -> easy to manage,
- colorfull console logs from engine and server,
- logs saved to file,
- install app on linux (especially usefull with raspberry pi (ver 3B/4)),
- add station - url address to radio stream,
- plug raspberry to audio device (speakers),
- go on website
http://localhost:8081/radio
(default), play and enjoy your favourite online radio, and control it through the website.
To make sure that every format is working install gstreamer plugins:
sudo apt-get install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
-
Download
-
Install
sudo dpkg -i PiRadioApp-v1.0.deb
-
Download
-
Unpack tar.
tar xvf piradio.tar.gz
-
Install:
sudo sh INSTALL.sh
-
If everything went good, you can remove downloaded files.
rm piradio.tar rm -r piradio
Application is running in background, and is avaliable (default) on website http://localhost:8082/radio
.
- To run aplication in background type:
To run application:
sudo systemctl enable piradio.service
To check if application is running:sudo systemctl start piradio.service
To reload daemon (could be required):sudo systemctl status piradio.service
sudo systemctl daemon-reload
- To change setting while running or because app not running.
Settings (flags) you can change in
sudo systemctl stop piradio.service
run.sh
script located in/opt/PiRadioApp
.Can be require to reload daemon.sudo systemctl start piradio.service
sudo systemctl daemon-reload
@szymonjanas