mafintosh/peerflix — pull request #141 by Sheraff (2014-10-31 23:56:27+00:00)
Title: added events onDownload & onListening to get the ball rolling on plugin stuff

`peerflix {magnet} --ondownloaded "./myscript.sh"` gets called when download reaches 100%
`peerflix {magnet} --onlistening "./myscript.sh"` gets called when server goes live, with href as argument