mikeal/node.couchapp.js — pull request #71 by jamescostian (2013-05-08 23:41:08+00:00)
Title: Only play sound if you can play sound

On my Raspberry Pi (and surely on other devices) the file `/usr/bin/afplay` does not exist. This pull request makes couchapp check to see if the machine that it's running on has that file, and if it does, then it will work like normally, but if it doesn't (like in the case of my Raspberry Pi), then it won't bother trying to play the sound (instead of failing)