diff --git a/config.toml b/config.toml index 54bcb89..7321253 100644 --- a/config.toml +++ b/config.toml @@ -1,14 +1,14 @@ [General] -BaseDir = "/mnt/media" +BaseDir = "/home/joren/Downloads/VVV/media" Format = "mkv" TempBaseDir = "/tmp/nre" EnableConsole = true [WatchFolder] -Path = "/mnt/watched" +Path = "/home/joren/Downloads/VVV/watch" PollingInterval = 10 UsePolling = false UseInotify = false [N_m3u8DLRE] -Path = "nre" +Path = "n-m3u8dl-re" diff --git a/src/downloaders.go b/src/downloaders.go index 5ceef66..bea2500 100644 --- a/src/downloaders.go +++ b/src/downloaders.go @@ -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 != "" {