Documentation ¶
Index ¶
- type LoopStatus
- type Metadata
- type Microseconds
- type OrgMprisMediaPlayer2Adapter
- type OrgMprisMediaPlayer2AdapterCanSetFullscreen
- type OrgMprisMediaPlayer2AdapterDesktopEntry
- type OrgMprisMediaPlayer2AdapterFullscreen
- type OrgMprisMediaPlayer2EventHandler
- type OrgMprisMediaPlayer2PlayerAdapter
- type OrgMprisMediaPlayer2PlayerAdapterLoopStatus
- type OrgMprisMediaPlayer2PlayerAdapterShuffle
- type OrgMprisMediaPlayer2PlayerEventHandler
- type PlaybackStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoopStatus ¶
type LoopStatus string
const ( LoopStatusNone LoopStatus = "None" LoopStatusTrack LoopStatus = "Track" LoopStatusPlaylist LoopStatus = "Playlist" )
type Metadata ¶
type Metadata struct { TrackId dbus.ObjectPath Length Microseconds ArtUrl string Album string AlbumArtist []string Artist []string AsText string AudioBPM int AutoRating float64 Comment []string Composer []string ContentCreated string DiscNumber int FirstUsed string Genre []string LastUsed string Lyricist []string Title string TrackNumber int Url string UseCount int UserRating float64 }
type Microseconds ¶
type Microseconds int64
type OrgMprisMediaPlayer2EventHandler ¶
type OrgMprisMediaPlayer2EventHandler interface {
OnAll() error
}
type OrgMprisMediaPlayer2PlayerAdapter ¶
type OrgMprisMediaPlayer2PlayerAdapter interface { Next() error Previous() error Pause() error PlayPause() error Stop() error Play() error Seek(offset Microseconds) error SetPosition(trackId string, position Microseconds) error OpenUri(uri string) error PlaybackStatus() (PlaybackStatus, error) Rate() (float64, error) SetRate(float64) error Metadata() (Metadata, error) Volume() (float64, error) SetVolume(float64) error Position() (int64, error) MinimumRate() (float64, error) MaximumRate() (float64, error) CanGoNext() (bool, error) CanGoPrevious() (bool, error) CanPlay() (bool, error) CanPause() (bool, error) CanSeek() (bool, error) CanControl() (bool, error) }
type OrgMprisMediaPlayer2PlayerAdapterLoopStatus ¶
type OrgMprisMediaPlayer2PlayerAdapterLoopStatus interface { LoopStatus() (LoopStatus, error) SetLoopStatus(LoopStatus) error }
type PlaybackStatus ¶
type PlaybackStatus string
const ( PlaybackStatusPlaying PlaybackStatus = "Playing" PlaybackStatusPaused PlaybackStatus = "Paused" PlaybackStatusStopped PlaybackStatus = "Stopped" )
Click to show internal directories.
Click to hide internal directories.