Skip to content

Instantly share code, notes, and snippets.

@andrewn
Last active August 29, 2015 14:06
Show Gist options
  • Save andrewn/32f8fbfdb21041a8cb4b to your computer and use it in GitHub Desktop.
Save andrewn/32f8fbfdb21041a8cb4b to your computer and use it in GitHub Desktop.
Mediascape Remote Control Radio instructions

Mediascape Remote Control Radio

Install correct radiodan software

Either provision a radiodan from scratch using:

https://github.com/radiodan/provision

If you already have a provisioned radiodan, run the following commands to update the software:

pi$ cd /home/pi/provision
pi$ sudo ./provision monit radiodan-example

There’s currently a problem with installing the Avahi node library so you have to do this manually:

pi$ cd /opt/radiodan/example
pi$ sudo chown pi:pi -R .
pi$ rm -rf node_modules/avahi_pub
pi$ npm install

Then, change the type of Radiodan you have by running:

pi$ sudo radiodan-device-type radiodan-example

Then restart the Radiodan for the changes to take effect:

pi$ sudo reboot

On start-up, http://raspberrypi.local should show you a basic web interface for the radio.

Install the Mediascape helpers

Clone/download:

https://github.com/mediascape/discovery-helper-app
https://github.com/mediascape/discovery-extension
https://github.com/mediascape/discovery-bbc-radio
  1. Open Chrome
  2. Goto chrome://extensions/
  3. Tick “Developer mode”
  4. Click “Load unpacked extension"
  5. Find the directory where you’ve cloned the helper app
  6. Add the directory
  7. Repeat for other 2

Usage

Clicking the MediaScape icon in your web browser should show the radio device listed. Clicking the device name should open a remote control interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment