]> code.octet-stream.net Git - broadcaster/blobdiff - radio/config.go
Default to local timezone, not Hobart
[broadcaster] / radio / config.go
index 315265338859c2ef96b4727e1b0988f1efe58312..331f9f56a22b8b19c616b1873304ff19e6bd908b 100644 (file)
@@ -27,7 +27,7 @@ func NewRadioConfig() RadioConfig {
                ServerURL:  "",
                Token:      "",
                CachePath:  "",
                ServerURL:  "",
                Token:      "",
                CachePath:  "",
-               TimeZone:   "Australia/Hobart",
+               TimeZone:   "Local",
        }
 }
 
        }
 }
 
@@ -66,5 +66,5 @@ func (c *RadioConfig) ApplyDefaults() {
 func (c *RadioConfig) WebsocketURL() string {
        addr := strings.Replace(c.ServerURL, "https://", "wss://", -1)
        addr = strings.Replace(addr, "http://", "ws://", -1)
 func (c *RadioConfig) WebsocketURL() string {
        addr := strings.Replace(c.ServerURL, "https://", "wss://", -1)
        addr = strings.Replace(addr, "http://", "ws://", -1)
-       return addr + "/radiosync"
+       return addr + "/radio-ws"
 }
 }