Ffmpeg : Drop ARTISTS tag from flacs.

This commit is contained in:
Dmitry Voronin 2024-10-06 19:36:59 +03:00
parent ddaf311b32
commit d26963be06
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -70,7 +70,7 @@
# echo "''${artist}; ''${album}; ''${year}; ''${track}; ''${title}" # echo "''${artist}; ''${album}; ''${year}; ''${track}; ''${title}"
# TODO: make it format-specific. # TODO: make it format-specific.
ffmpeg -i "''${file}" -map 0 -c copy -metadata "artist=''${artist}" -metadata "album_artist=''${artist}" -metadata "album=''${album}" -metadata "date=''${year}" -metadata "year=''${year}" -metadata "date_released=''${year}" -metadata "track=''${track}" -metadata "part_number=''${track}" -metadata "title=''${title}" ./out/"''${file}" || return 1 ffmpeg -i "''${file}" -map 0 -c copy -metadata "artists=" -metadata "artist=''${artist}" -metadata "album_artist=''${artist}" -metadata "album=''${album}" -metadata "date=''${year}" -metadata "year=''${year}" -metadata "date_released=''${year}" -metadata "track=''${track}" -metadata "part_number=''${track}" -metadata "title=''${title}" ./out/"''${file}" || return 1
done done
mv out/* . mv out/* .