Compare commits

..

No commits in common. "0e93c0cafb23ddedecd70358930445311aa15dcd" and "930caa62c22a779e608ad16ddad8257ad4b711c1" have entirely different histories.

2 changed files with 0 additions and 17 deletions

View File

@ -17,10 +17,6 @@ func IsPaused(socket string) (bool, error) {
return GetProperty[bool](socket, "pause")
}
func GetVolume(socket string) (float64, error) {
return GetProperty[float64](socket, "volume")
}
func GetFilename(socket string) (string, error) {
return GetProperty[string](socket, "filename")
}
@ -58,15 +54,6 @@ func GetDuration(socket string) (time.Duration, error) {
return time.Duration(durationInSeconds * float64(time.Second)), nil
}
func GetDemuxerCacheTime(socket string) (time.Duration, error) {
cacheInSeconds, err := GetProperty[float64](socket, "demuxer-cache-time")
if err != nil {
return 0, err
}
return time.Duration(cacheInSeconds * float64(time.Second)), nil
}
func GetPercentPos(socket string) (float64, error) {
return GetProperty[float64](socket, "percent-pos")
}

View File

@ -17,7 +17,3 @@ 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)
}