mpdinfo

package
v0.0.0-...-7c8f249 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2014 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrentSong

type CurrentSong struct {
	Artist, AlbumArtist, ArtistSort, AlbumArtistSort, Title, Album, Track, Genre string
	Position, Id                                                                 uint
}

func (*CurrentSong) String

func (this *CurrentSong) String() string

type State

type State string
const (
	STATE_PLAYING State = "play"
	STATE_STOPPED State = "stop"
	STATE_PAUSED  State = "pause"
)

type Status

type Status struct {
	Volume                          int
	Repeat, Random, Single, Consume bool
	State                           State
	SongProgress                    float64 // A fraction between 0.0 and 1.0
}

func (*Status) String

func (this *Status) String() string

Jump to

Keyboard shortcuts

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