Golang wrapper to control the VLC Player via TCP commands.
p := NewPlayer(nil)
p.Start()
p.Play("/path/to/video")
time.Sleep(time.Second * 5)
p.Pause()
time.Sleep(time.Second * 3)
p.Pause()
time.Sleep(time.Second * 5)
p.Stop()
p.Shutdown()
- Windows 10 (VLC 3.6.0, 4.0.0-dev)
- Ubuntu 18.04 (VLC 4.0.0-dev)