mpris

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MprisHandler

type MprisHandler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(name, description string) *MprisHandler

func (*MprisHandler) CanControl

func (mh *MprisHandler) CanControl() (bool, error)

func (*MprisHandler) CanGoNext

func (mh *MprisHandler) CanGoNext() (bool, error)

func (*MprisHandler) CanGoPrevious

func (mh *MprisHandler) CanGoPrevious() (bool, error)

func (*MprisHandler) CanPause

func (mh *MprisHandler) CanPause() (bool, error)

func (*MprisHandler) CanPlay

func (mh *MprisHandler) CanPlay() (bool, error)

func (*MprisHandler) CanQuit

func (mh *MprisHandler) CanQuit() (bool, error)

func (*MprisHandler) CanRaise

func (mh *MprisHandler) CanRaise() (bool, error)

func (*MprisHandler) CanSeek

func (mh *MprisHandler) CanSeek() (bool, error)

func (*MprisHandler) Disable

func (mh *MprisHandler) Disable() error

func (*MprisHandler) Enable

func (mh *MprisHandler) Enable() error

func (*MprisHandler) HasTrackList

func (mh *MprisHandler) HasTrackList() (bool, error)

func (*MprisHandler) Identity

func (mh *MprisHandler) Identity() (string, error)

func (*MprisHandler) MaximumRate

func (mh *MprisHandler) MaximumRate() (float64, error)

func (*MprisHandler) Message

func (mh *MprisHandler) Message() <-chan handler.Message

func (*MprisHandler) Metadata

func (mh *MprisHandler) Metadata() (md types.Metadata, err error)

func (*MprisHandler) MinimumRate

func (mh *MprisHandler) MinimumRate() (float64, error)

func (*MprisHandler) Next

func (mh *MprisHandler) Next() error

func (*MprisHandler) OnEnded

func (mh *MprisHandler) OnEnded()

func (*MprisHandler) OnPlayPause

func (mh *MprisHandler) OnPlayPause()

func (*MprisHandler) OnPlayback

func (mh *MprisHandler) OnPlayback()

func (*MprisHandler) OnSeek

func (mh *MprisHandler) OnSeek(position time.Duration)

func (*MprisHandler) OnVolume

func (mh *MprisHandler) OnVolume()

func (*MprisHandler) OpenUri

func (mh *MprisHandler) OpenUri(uri string) error

func (*MprisHandler) Pause

func (mh *MprisHandler) Pause() error

func (*MprisHandler) Play

func (mh *MprisHandler) Play() error

func (*MprisHandler) PlayPause

func (mh *MprisHandler) PlayPause() error

func (*MprisHandler) PlaybackStatus

func (mh *MprisHandler) PlaybackStatus() (types.PlaybackStatus, error)

func (*MprisHandler) Position

func (mh *MprisHandler) Position() (int64, error)

func (*MprisHandler) Previous

func (mh *MprisHandler) Previous() error

func (*MprisHandler) Quit

func (mh *MprisHandler) Quit() error

func (*MprisHandler) Raise

func (mh *MprisHandler) Raise() error

func (*MprisHandler) Rate

func (mh *MprisHandler) Rate() (float64, error)

func (*MprisHandler) Seek

func (mh *MprisHandler) Seek(offset types.Microseconds) error

func (*MprisHandler) SendAnswer

func (mh *MprisHandler) SendAnswer(ans any)

func (*MprisHandler) SetPosition

func (mh *MprisHandler) SetPosition(trackId string, position types.Microseconds) error

func (*MprisHandler) SetRate

func (mh *MprisHandler) SetRate(float64) error

func (*MprisHandler) SetVolume

func (mh *MprisHandler) SetVolume(vol float64) error

func (*MprisHandler) Stop

func (mh *MprisHandler) Stop() error

func (*MprisHandler) SupportedMimeTypes

func (mh *MprisHandler) SupportedMimeTypes() ([]string, error)

func (*MprisHandler) SupportedUriSchemes

func (mh *MprisHandler) SupportedUriSchemes() ([]string, error)

func (*MprisHandler) Volume

func (mh *MprisHandler) Volume() (float64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL