Compare commits

...

3 Commits

Author SHA1 Message Date
03312a0079
Fix accidentally registering same handler twice 2024-12-31 01:50:58 +01:00
a91163f845
config 2024-12-30 16:57:05 +01:00
7d28d1cea8 Merge pull request 'speedLimiter' (#10) from speedLimiter into main
Reviewed-on: #10
2024-12-30 16:47:45 +01:00
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

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