tinyfm sandbox image for development purpose.
Because developing straight on a RaspberryPi is long and tedious, this Vagrant image helps to replicate a similar environment to the tinyfm board.
It setups:
- a Mopidy server to manage a media playlist of digital assets to broadcast over FM;
- the tinyfm Client-app to request media assets to be broadcasted;
- the mpd2fm bridge which broadcasts playback to FM waves.
This project has been initiated as part of Al Jazeera Canvas hackaton in November 2014.
The install procedures downloads a fair amount of useful packages, configuration files and services. It should take a couple of minutes to be ready.
Requires Vagrant and VirtualBox.
git clone https://github.com/tinyfm/sandbox.git tinyfm-sandbox
cd tinyfm-sandbox && vagrant up
wget -q -O - https://raw.githubusercontent.com/tinyfm/sandbox/master/install.sh | bash -
An Web server should be running on localhost:6680.
The content of the tracklist can be displayed with a small Node script:
npm install
HOST=localhost node src/display-tracks.js
When install.sh
is run on a Raspberry Pi, it should make it visible through the ZeroConf/Bonjour/mDNS protocol.