diff --git a/config.toml b/config.template.toml similarity index 100% rename from config.toml rename to config.template.toml 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 != "" {