Skip to content

Latest commit

 

History

History
executable file
·
102 lines (88 loc) · 2.65 KB

README.md

File metadata and controls

executable file
·
102 lines (88 loc) · 2.65 KB

PiRadio

Build Status

Description

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

Features:

  • playing radio from any audio stream,
  • remote control and manage through web: local website, http rest api,
  • database in json file -> easy to manage,

Whats more:

  • colorfull console logs from engine and server,
  • logs saved to file,

Simple user manual:

  1. install app on linux (especially usefull with raspberry pi (ver 3B/4)),
  2. add station - url address to radio stream,
  3. plug raspberry to audio device (speakers),
  4. go on website http://localhost:8081/radio (default), play and enjoy your favourite online radio, and control it through the website.

Download & Install


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

piradio.deb

  1. Download

  2. Install

        sudo dpkg -i PiRadioApp-v1.0.deb
    

piradio.tar

  1. Download

  2. Unpack tar.

         tar xvf piradio.tar.gz
  3. Install:

         sudo sh INSTALL.sh
  4. If everything went good, you can remove downloaded files.

         rm piradio.tar
         rm -r piradio 

Run & Settings


Application is running in background, and is avaliable (default) on website http://localhost:8082/radio.

  • To run aplication in background type:
        sudo systemctl enable piradio.service
    To run application:
        sudo systemctl start piradio.service
    To check if application is running:
        sudo systemctl status piradio.service
    To reload daemon (could be required):
        sudo systemctl daemon-reload
  • To change setting while running or because app not running.
        sudo systemctl stop piradio.service
    Settings (flags) you can change in run.sh script located in /opt/PiRadioApp.
        sudo systemctl start piradio.service
    Can be require to reload daemon.
        sudo systemctl daemon-reload
    

Author:

@szymonjanas

Licence: