Fixed possible nil logger in playlist download

Fixes #145
This commit is contained in:
2024-04-12 22:35:05 +02:00
parent d336b92e46
commit 294ad29bf2

View File

@@ -70,11 +70,10 @@ func PlaylistDetect(req DownloadRequest, mq *MessageQueue, db *MemoryDB, logger
proc := &Process{
Url: meta.OriginalURL,
Progress: DownloadProgress{},
Output: DownloadOutput{
Filename: req.Rename,
},
Output: DownloadOutput{Filename: req.Rename},
Info: meta,
Params: req.Params,
Logger: logger,
}
proc.Info.URL = meta.OriginalURL