config

package
v0.0.0-...-53ca941 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AudioDriver     = "PulseAudio"
	AudioDriverList = []string{"PulseAudio", "ALSA", "JACK"}
)
View Source
var (
	Shuffle              bool
	Repeat               bool
	ByExternalPlayer     bool
	CacheEnabled         bool
	RedirectURL          bool
	AutoRedirectURL      = true
	ReverseProxyEnabled  bool
	Debugging            bool
	ReverseProxyRetries  int
	FixedStreamCacheSize int
	Socks5Proxy          string
	HttpProxy            string
	NetworkInterface     string
	Player               string
	DownloadDir          string
	M3UFileName          string
	BaseURL              string
	NeteaseUsername      string
	NeteasePassword      string
	LogFile              string
	UserAgent            = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0"
	CacheAddr            = "127.0.0.1:6379"
	ReverseProxy         = "127.0.0.1:8123"
	Action               = "play"
	Provider             = "netease"
	Limit                = 30
	Page                 = 1
	NetworkTimeout       = 60
)

Functions

func LoadConfigurationFromFile

func LoadConfigurationFromFile(fn string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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