3

I have a bunch of folders containing songs in m4a format and also an album art file (png) named [Album name].png.

I would like to automate adding the album art to each file in each folder but i do not want to import them into iTunes first.

A bash script would work too in worst case since it could be run from an AppleScript. Suggestions?

4

2 回答 2

8

您可以使用 mp4art:

brew install mp4v2
mp4art --remove file.m4a
mp4art --add cover.jpg file.m4a

或 eye3d 用于 mp3 或 flac 文件:

brew install eyed3
eyeD3_script --remove-image file.mp3
eyeD3_script --add-image=cover.jpg:FRONT_COVER file.mp3
于 2013-05-13T10:09:54.620 回答
1

可以使用TagEditor 项目添加封面。添加:

tageditor -s cover=ju.jpg --max-padding 100000 -f ki.m4a

去除:

tageditor -s cover= --max-padding 100000 -f ki.m4a
于 2016-11-14T05:36:12.380 回答