public PlayerTask(int interval, int timeout, VLC vlcLib, string[] options, string file)
     : base(interval, timeout)
 {
     vlcLib.playlistClear();
     vlcLib.addTarget("vlc:quit");
     vlcLib.play();
     vlcLib.playlistClear();
     vlcLib.addTarget(file, options);
     vlcLib.play();
 }
Beispiel #2
0
        public PlayerTask(int interval, int timeout, VLC vlcLib, string[] options, ArrayList files)
            : base(interval, timeout)
        {
            vlcLib.playlistClear();
            vlcLib.addTarget("vlc:quit");
            vlcLib.play();
            vlcLib.playlistClear();

            foreach (string file in files)
            {
                vlcLib.addTarget(file, options);
            }

            vlcLib.play();
        }