mpv: Use --prefetch-playlist option
This commit is contained in:
parent
7acda334a9
commit
762d4a5b9c
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ func (s *MPVSource) Enable() (err error) {
|
|||
|
||||
s.ipcSocketDir, err = os.MkdirTemp("", "hathoris")
|
||||
|
||||
opts := append([]string{"--no-video", "--no-terminal"}, s.Options...)
|
||||
opts := append([]string{"--no-video", "--no-terminal", "--prefetch-playlist=yes"}, s.Options...)
|
||||
if s.ipcSocketDir != "" {
|
||||
opts = append(opts, "--input-ipc-server="+s.ipcSocket(), "--pause")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue