enclose MPD url

This commit is contained in:
Joren 2025-05-21 09:40:45 +02:00
parent 03312a0079
commit 1af43b111c
Signed by: Joren
GPG Key ID: 280E33DFBC0F1B55
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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 != "" {