A simple Internet radio player for mPlayer with REST API integration and MQTT client
You will need a mqtt broker running to enable the MQTT part of the radio
const {
MQTT_USERNAME,
MQTT_PASSWORD,
MQTT_ENDPOINT,
} = process.env;
- Install mPlayer on your device
sudo apt-get install mplayer
- Clone this repository
cd radio-pi
npm run start
use https://www.npmjs.com/package/node-mpv instead fo mPlayer