added volume getter and setter
This commit is contained in:
@ -17,3 +17,7 @@ func SetTimePos(socket string, timePos time.Duration) error {
|
||||
func SetPercentPos(socket string, percentPos float64) error {
|
||||
return SetProperty[float64](socket, "percent-pos", percentPos)
|
||||
}
|
||||
|
||||
func SetVolume(socket string, volume float64) error {
|
||||
return SetProperty[float64](socket, "volume", volume)
|
||||
}
|
||||
|
Reference in New Issue
Block a user