Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Back10Seconds ¶
func Back10Seconds()
func EnqueueSong ¶ added in v1.8.0
func Forward10Seconds ¶
func Forward10Seconds()
func InitPlayer ¶
func InitPlayer() error
func RestartSong ¶ added in v1.1.1
func RestartSong()
func ShutdownPlayer ¶
func ShutdownPlayer()
func TogglePause ¶
func TogglePause()
func UpdateNextSong ¶ added in v1.8.0
func UpdateNextSong(songID string)
Types ¶
type PlayerStatus ¶
type PlayerStatus struct {
Title string
Artist string
Album string
Current float64
Duration float64
Paused bool
Volume float64
Path string
}
func GetPlayerStatus ¶
func GetPlayerStatus() PlayerStatus
Click to show internal directories.
Click to hide internal directories.