diff --git a/player.go b/player.go index e41a353..9c78ec7 100644 --- a/player.go +++ b/player.go @@ -68,6 +68,8 @@ func (player *Player) init() error { "-loglevel", "quiet", ) + player.cmd = cmd + pipe, err := cmd.StdinPipe() if err != nil { return err