func (c Config) Media() string {
	return path.Clean(common.ExpandHomeDir(c.MediaFolder))
}
Media returns the media folder from config, but with special
characters such as '~' replaced, and any trailing slashes trimmed.
package config
import (
	"path"
	"github.com/mdlayher/wavepipe/common"
)
var C ConfigSource
type Config struct {
	Host        string        `json:"host"`
	MediaFolder string        `json:"mediaFolder"`
	Sqlite      *SqliteConfig `json:"sqlite"`
}