From d1c3255ed9e0dce59c8d6df9afef2b9a7672e1d0 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 10 Aug 2015 19:14:01 +0100 Subject: [PATCH] Deleted web section from config.gcfg until I can work out what went wrong --- config.gcfg | 18 ------------------ parseconfig.go | 6 ------ 2 files changed, 24 deletions(-) diff --git a/config.gcfg b/config.gcfg index b88e838..cf36a98 100644 --- a/config.gcfg +++ b/config.gcfg @@ -55,24 +55,6 @@ LowestVolume = 0.01 # DEFAULT VALUE: 0.8 HighestVolume = 0.8 - -[Web] - -# Enable web browser control -# DEFAULT VALUE: true -WebBrowser: true - -# Port for web browser, 80 provides links with no port -# DEFAULT VALUE: 9563 -WebPort: 9563 - -# Web address to provide links for -# DEFAULT VALUE: http://{{IP}}:{{PORT}}/ -WebAddress: "http://{{IP}}:{{PORT}}/" - -# Can users have their own web page -# DEFAULT VALUE: false -CustomWebPage: false [Aliases] diff --git a/parseconfig.go b/parseconfig.go index e308548..4b4a16a 100644 --- a/parseconfig.go +++ b/parseconfig.go @@ -33,12 +33,6 @@ type DjConfig struct { LowestVolume float32 HighestVolume float32 } - Web struct { - WebBrowser bool - WebPort int - WebAddress string - CustomWebPage bool - } Aliases struct { AddAlias string SkipAlias string