Morrolinux's Pirate radio (PiFmRDS implementation with Bluetooth and mp3 support) for all Raspberry Pi models
Exclusively tested on Minimal Raspbian (ARM)
- The first bluetooth connection after boot is known to fail after few seconds. All subsequent connections will work just fine.
git clone https://github.com/0-pi/mpradio.git mpradio-master
cd mpradio-master/install
sudo ./install.sh
By default, mpradio will always be running automatically after boot once installed. No additional configuration is needed. However, you can change the FM streaming frequency (which is otherwise defaulted to 88.8) by placing a file named pirateradio.config in the root of a USB key (which of course, will need to stay plugged for the settings to be permanent)
pirateradio.config example:
[PIRATERADIO]
frequency=88.8
rm -rf mpradio-master/
and then:
installation steps
install.sh remove
mpradio is launched as a service (via systemd) after boot completed
check whether the service is running or not:
$ sudo systemctl status mpradio
start or stop the service:
$ sudo systemctl [start/stop] mpradio
As for Bluetooth:
Bluetooth connection logs are under /var/log/bluetooth_dev
if you are having issues with bluetooth audio pairing, please also check if simple-agent service is running:
$ sudo systemctl status simple-agent
A simple schematic of how things work together: