ext_mp

package
v0.0.0-...-506d839 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlayerDataFromPlayer

func NewPlayerDataFromPlayer(player *mpris.Player) (*mp.FullMetadata, error)

func ParseLoopStatus

func ParseLoopStatus(loopStatus string) (string, error)

func ParsePlaybackStatus

func ParsePlaybackStatus(playbackStatus string) (string, error)

Types

type MPlayerPlay

type MPlayerPlay struct {
	PlayerIndex int
	// contains filtered or unexported fields
}

TODO: Change from using index values, to player names. That is more reliable and more useful as a unique MPRIS value.

Jump to

Keyboard shortcuts

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