Compare commits
7 Commits
speedLimit
...
bugfixes
Author | SHA1 | Date | |
---|---|---|---|
6e016b802b
|
|||
72b85ec281
|
|||
b2e3268ad1
|
|||
1af43b111c
|
|||
03312a0079
|
|||
a91163f845
|
|||
7d28d1cea8 |
@ -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,8 +72,6 @@ func main() {
|
||||
}
|
||||
processItems(*inputFile, items)
|
||||
}
|
||||
|
||||
http.HandleFunc("/set-speed-limit", handleSetSpeedLimit)
|
||||
}
|
||||
|
||||
func startWebServer() {
|
||||
|
Reference in New Issue
Block a user