changed to an "event bus" approach in the message queue, fixed unset download parameters.

This commit is contained in:
2024-05-14 11:21:02 +02:00
parent 62eadb52a6
commit 8f10baf09b
6 changed files with 70 additions and 37 deletions

View File

@@ -35,7 +35,7 @@ func PlaylistDetect(req DownloadRequest, mq *MessageQueue, db *MemoryDB, logger
return err
}
logger.Info("decoding metadata", slog.String("url", req.URL))
logger.Info("decoding playlist metadata", slog.String("url", req.URL))
if err := json.NewDecoder(stdout).Decode(&m); err != nil {
return err