Option to not start browser (fixes #84)

This commit is contained in:
Jakob Borg
2014-03-08 23:19:33 +01:00
parent 0ebd4a6ba1
commit a88e4db1ee
5 changed files with 175 additions and 167 deletions

View File

@@ -44,6 +44,7 @@ type OptionsConfiguration struct {
RescanIntervalS int `xml:"rescanIntervalS" default:"60" ini:"rescan-interval"`
ReconnectIntervalS int `xml:"reconnectionIntervalS" default:"60" ini:"reconnection-interval"`
MaxChangeKbps int `xml:"maxChangeKbps" default:"1000" ini:"max-change-bw"`
StartBrowser bool `xml:"startBrowser" default:"true"`
}
func setDefaults(data interface{}) error {