types

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const Usage = `` /* 508-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type Activelist added in v0.1.5

type Activelist struct {
	PrevSong    int
	CurrentSong int
	NextSong    int
}

type Config added in v0.1.5

type Config struct {
	General  GeneralSettings `yaml:"general"`
	Player   PlayerSettings  `yaml:"player"`
	Music    MusicSettings   `yaml:"music"`
	Renderer string          `yaml:"renderer"`
	User     UserSetting     `yaml:"user"`
	Temp     TempSetting     `yaml:"temp"`
}

Config represents the main config for the application.

type Flag added in v0.1.5

type Flag struct {
	Help string
	Test string
}

type GeneralSettings added in v0.1.5

type GeneralSettings struct {
	StartDir      string `yaml:"start_dir"`
	ShowIcons     bool   `yaml:"show_icons"`
	ShowHidden    bool   `yaml:"show_hidden"`
	EnableLogging bool   `yaml:"enable_logging"`
}

type MusicSettings added in v0.1.5

type MusicSettings struct {
	RepeatSong     bool `yaml:"repeat_song"`
	RepeatPlaylist bool `yaml:"repeat_playlist"`
	Shuffle        bool `yaml:"shuffle"`
}

type PlayerSettings added in v0.1.5

type PlayerSettings struct {
	Shuffle        bool `yaml:"shuffle"`
	RepeatPlaylist bool `yaml:"repeat_playlist"`
}

type Song

type Song struct {
	Name string
	Path string
}

type Stats added in v0.1.5

type Stats struct {
	MinutesPlayed int
	SongsPlayed   int
}

type TempSetting added in v0.1.5

type TempSetting struct {
	StartDir      string   `yaml:"start_dir"`
	ShowIcons     bool     `yaml:"show_icons"`
	ShowHidden    bool     `yaml:"show_hidden"`
	Exclude       []string `yaml:"exclude"`
	PlayOnly      []string `yaml:"playonly"`
	Include       []string `yaml:"include"`
	Renderer      string   `yaml:"renderer"`
	EnableLogging bool     `yaml:"enable_logging"`
}

type UserSetting added in v0.1.5

type UserSetting struct {
	UseDB bool `yaml:"use_db"`
}

Jump to

Keyboard shortcuts

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