Compare commits
No commits in common. "main" and "speedLimiter" have entirely different histories.
main
...
speedLimit
@ -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
|
@ -168,7 +168,7 @@ func getDownloadCommand(item Item, mpdPath string, tempDir string) string {
|
||||
metadata := parseMetadata(item.Metadata)
|
||||
keys := getKeys(item.Keys)
|
||||
|
||||
command := fmt.Sprintf("%s \"%s\"", config.N_m3u8DLRE.Path, mpdPath)
|
||||
command := fmt.Sprintf("%s %s", config.N_m3u8DLRE.Path, mpdPath)
|
||||
|
||||
for _, key := range keys {
|
||||
if key != "" {
|
||||
|
@ -72,6 +72,8 @@ func main() {
|
||||
}
|
||||
processItems(*inputFile, items)
|
||||
}
|
||||
|
||||
http.HandleFunc("/set-speed-limit", handleSetSpeedLimit)
|
||||
}
|
||||
|
||||
func startWebServer() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user