Compare commits
No commits in common. "main" and "speedLimiter" have entirely different histories.
main
...
speedLimit
@ -1,11 +1,11 @@
|
|||||||
[General]
|
[General]
|
||||||
BaseDir = "/mnt/media"
|
BaseDir = "/mnt/Media"
|
||||||
Format = "mkv"
|
Format = "mkv"
|
||||||
TempBaseDir = "/tmp/nre"
|
TempBaseDir = "/tmp/nre"
|
||||||
EnableConsole = true
|
EnableConsole = true
|
||||||
|
|
||||||
[WatchFolder]
|
[WatchFolder]
|
||||||
Path = "/mnt/watched"
|
Path = "/mnt/Watched"
|
||||||
PollingInterval = 10
|
PollingInterval = 10
|
||||||
UsePolling = false
|
UsePolling = false
|
||||||
UseInotify = false
|
UseInotify = false
|
||||||
|
@ -72,6 +72,8 @@ func main() {
|
|||||||
}
|
}
|
||||||
processItems(*inputFile, items)
|
processItems(*inputFile, items)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
http.HandleFunc("/set-speed-limit", handleSetSpeedLimit)
|
||||||
}
|
}
|
||||||
|
|
||||||
func startWebServer() {
|
func startWebServer() {
|
||||||
|
Loading…
Reference in New Issue
Block a user