Skip to content

zhongfly/umpv-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

umpv-go

A Go language version of umpv (https://github.com/mpv-player/mpv/blob/master/TOOLS/umpv)

Tested only on Windows, rsrc.syso is the icon resource for the Windows program.

Usage

umpv video.mkv

Options

--ipc-server

Specify the IPC server socket path. If not provided, a default path will be used based on the operating system.

--loadfile-flag

Specify the loadfile flag. Possible values are:

  • replace: Replace the current playlist.
  • append: Append to the current playlist.
  • append-play: (default) Append the file, and if nothing is currently playing, start playback.
  • insert-next: Insert the file into the playlist, directly after the current entry.
  • insert-next-play: Insert the file next, and if nothing is currently playing, start playback. Read mpv manual for more details.

--config

Specify the config file path. If not provided, the default path umpv.conf in the executable directory will be used.

Example

umpv --ipc-server=\\.\\pipe\\mpvpipe --loadfile-flag=replace video.mkv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages