shime / play-sound

Play sounds by shelling out to one of the available audio players.
MIT License
208 stars 31 forks source link

ERROR: ReferenceError: isURL is not defined #11

Closed ucokzeko closed 8 years ago

ucokzeko commented 8 years ago

Hi there, I got this error when I use this npm with node --use_strict in my app

/Users/kstefan/DSTIL/Code/mqtt-play/node_modules/play-sound/index.js:23
isURL = this.player == 'mplayer' && this.urlRegex.test(what)
   ^

ReferenceError: isURL is not defined

Any idea?

Cheers,

Stefanus

shime commented 8 years ago

Thanks for reporting!