modulepackage
0.2.0
Repository: https://github.com/dawidd6/go-spotify-dbus.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
GetMetadata returns the current metadata from the Spotify app.
GetPlaybackStatus returns the current Play/Pause status of the Spotify app Status will be "Playing", "Paused" or "Unknown".
IsServiceStarted checks if the Spotify app is running.
Listen will listen for any changes in PlayPause or metadata from the Spotify app
This function is blocking.
NewListeners returns default listeners.
SendNext sends a "Next" message to the Spotify app.
SendPause sends a "Pause" message to the Spotify app.
SendPlay sends a "Play" message to the Spotify app.
SendPlayPause sends a "PlayPause" message to the Spotify app.
SendPrevious sends a "Previous" message to the Spotify app.
# Constants
StatusPaused is the paused state.
StatusPlaying is the playing state.
StatusUnknown is an unknown music player state.
# Type aliases
PlaybackStatus is a PlayPause status of a music player.