Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigDir ¶
func GetConfigDir() string
func GetPlaylistPath ¶
func SaveConfig ¶
func SaveConfig(cfg *Config)
Types ¶
type Config ¶
type Config struct { PlaylistsAvailable []string `json:"playlists_available"` SelectedPlaylist string `json:"selected_playlist"` Shuffle bool `json:"shuffle"` Loop bool `json:"loop"` VlcPath string `json:"vlc_path"` // contains filtered or unexported fields }
func LoadConfig ¶
func LoadConfig() *Config
Click to show internal directories.
Click to hide internal directories.