Control your VLC with Node. JS with socket.io + vlc-control-node module
First you have to emit an IO from the client with the name of cfg.
To use you have to emit the commands
Add to PlayList and Play
This commands will return an Object with informations that VLC will return.