Compare commits

..

No commits in common. "main" and "speedLimiter" have entirely different histories.

2 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,11 @@
[General]
BaseDir = "/mnt/media"
BaseDir = "/mnt/Media"
Format = "mkv"
TempBaseDir = "/tmp/nre"
EnableConsole = true
[WatchFolder]
Path = "/mnt/watched"
Path = "/mnt/Watched"
PollingInterval = 10
UsePolling = false
UseInotify = false

View File

@ -72,6 +72,8 @@ func main() {
}
processItems(*inputFile, items)
}
http.HandleFunc("/set-speed-limit", handleSetSpeedLimit)
}
func startWebServer() {