Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶
DefaultPath returns the default state file path.
func ParseQueueMode ¶
ParseQueueMode converts a persisted value into a queue mode.
func QueueModeString ¶
QueueModeString converts a queue mode into a persisted value.
Types ¶
type Lyrics ¶ added in v0.9.3
type Lyrics struct {
FollowLine bool `toml:"follow_line"`
}
Lyrics captures persisted state for the lyrics view.
type Player ¶ added in v0.9.3
type Player struct {
Volume *int `toml:"volume"`
QueueMode string `toml:"queue_mode"`
Playing int `toml:"playing"`
Cursor int `toml:"cursor"`
Playlist []Track `toml:"playlist"`
}
Player captures persisted state for the player.
Click to show internal directories.
Click to hide internal directories.