This patch connects to VLC (through sockets) and controls it to play a file, enqueue files to the playlist, pause, stop, go next/prev, clear playlist, print playlist, set repeat mode, etc.
Don’t expect a nice design.
In StackExchange (where this utility born), some guy can’t make it work. If it work or doesn’t work for you, please comment it here. Thanks.