From 795b8c849c4f8cedf675dca8fecc84d57cd01054 Mon Sep 17 00:00:00 2001 From: rroller Date: Sat, 30 Nov 2024 16:42:16 -0800 Subject: [PATCH] Fix --- src/media/fetch.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/media/fetch.go b/src/media/fetch.go index c733da4..06b34f2 100644 --- a/src/media/fetch.go +++ b/src/media/fetch.go @@ -130,12 +130,12 @@ func downloadMedia(url string) (string, string, error) { id := GetMD5Hash(url) name := getMediaDirectory(id) + "%(id)s.%(ext)s" - log.Info().Msgf("Downloading %s to %s", url, id) + log.Info().Msgf("Downloading %s to %s", url, name) cmd := exec.Command("yt-dlp", "--format", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best", "--merge-output-format", "mp4", - "--trim-filenames", "40", + "--trim-filenames", "100", "--restrict-filenames", "--write-info-json", "--verbose",