property display-name added
This commit is contained in:
@ -5,6 +5,10 @@ import "time"
|
||||
// list of (almost) all properties can be found in official docs:
|
||||
// https://mpv.io/manual/master/#properties
|
||||
|
||||
func GetDisplayNames(socket string) ([]string, error) {
|
||||
return GetProperty[[]string](socket, "display-names")
|
||||
}
|
||||
|
||||
func IsFullscreen(socket string) (bool, error) {
|
||||
return GetProperty[bool](socket, "fullscreen")
|
||||
}
|
||||
|
Reference in New Issue
Block a user