Skip to content

Commit

Permalink
Player initialized on Play() call
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexEidt committed Sep 28, 2022
1 parent f946c8a commit b9a344d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions player.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ func (player *Player) init() error {
"-loglevel", "quiet",
)

player.cmd = cmd

pipe, err := cmd.StdinPipe()
if err != nil {
return err
Expand Down

0 comments on commit b9a344d

Please sign in to comment.