From 2db11c20b023f85c96879d6f28a4cc7c99164335 Mon Sep 17 00:00:00 2001 From: home Date: Thu, 30 Nov 2023 16:53:52 +0300 Subject: [PATCH] ffmpeg : music_meta add year. --- .config/bash/module/ffmpeg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/bash/module/ffmpeg.sh b/.config/bash/module/ffmpeg.sh index 4195db6..27fd4ec 100644 --- a/.config/bash/module/ffmpeg.sh +++ b/.config/bash/module/ffmpeg.sh @@ -56,7 +56,7 @@ ffmpeg_music_meta() local title="${file#*_}"; title="${title%.*}"; title="${title//_/ }" # echo "${artist}; ${album}; ${year}; ${track}; ${title}" - ffmpeg -i "${file}" -c copy -metadata "artist=${artist}" -metadata "album_artist=${artist}" -metadata "album=${album}" -metadata "date=${year}" -metadata "track=${track}" -metadata "title=${title}" ./out/"${file}" || return 1 + ffmpeg -i "${file}" -c copy -metadata "artist=${artist}" -metadata "album_artist=${artist}" -metadata "album=${album}" -metadata "date=${year}" -metadata "year=${year}" -metadata "track=${track}" -metadata "title=${title}" ./out/"${file}" || return 1 done mv out/* .