node_vlc_remote/test.js
Fabian Stamm ccddd1abcb Adding basic control and position tracking of played file.
the VLC_RC.playing property is not very accurate right now and possibly switches to false, even if the video isn't finished.
2017-06-15 00:43:26 +02:00

6 lines
222 B
JavaScript

var i = require("./index.js");
var vlc = new i.VLC_RC({verbose:false, debug:true, manual:true});
vlc.loadFile("/home/fabian/Downloads/testv.mp4");
vlc.loadFile("/home/fabian/Downloads/t2.mp4");
//vlc.pause();
//vlc.play();