Skip to content

falconandy/vlc

Repository files navigation

Golang wrapper for the VLC player (via TCP)

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()

Tested on

  • Windows 10 (VLC 3.6.0, 4.0.0-dev)
  • Ubuntu 18.04 (VLC 4.0.0-dev)

About

Golang wrapper for VLC player (via TCP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages