GetPause implemented
This commit is contained in:
@ -53,8 +53,8 @@ func GetPlaylist(socket string) ([]PlaylistEntry, error) {
|
||||
return GetProperty[[]PlaylistEntry](socket, "playlist")
|
||||
}
|
||||
|
||||
func SetPlaylistPosition(socket string, index int) error {
|
||||
return SetProperty(socket, "playlist-pos", index)
|
||||
func GetPause(socket string) (bool, error) {
|
||||
return GetProperty[bool](socket, "pause")
|
||||
}
|
||||
|
||||
func GetDuration(socket string) (time.Duration, error) {
|
||||
|
Reference in New Issue
Block a user