Uses a (basically free) Amazon Dash Button to play/pause your iTunes music over AirPlay speakers.
Requires OS X and an AirPlay compatible speaker (e.g. Apple TV or any speaker hooked up to AirPort Express).
- Install node-dash-button and follow the instructions to get your Dash Button's MAC address.
- Install node-applescript
- Tweak code as desired, filling in your button's MAC address, name of your AirPlay speakers, etc.
- Run via Terminal:
node dash_buttons.js