Add album art to m4a file without iTunes using AppleScript

I have a bunch of folders containing songs in m4a format as well as an album cover (png) file called [Album name] .png.

I would like to automate adding album covers to every file in every folder, but I don't want to import them to iTunes in the first place. A bash script will work in the worst case since it can run from AppleScript. Suggestions?

+3


source to share


2 answers


You can use mp4art:

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

      



Or eye3d for mp3 or flac files:

brew install eyed3
eyeD3_script --remove-image file.mp3
eyeD3_script --add-image=cover.jpg:FRONT_COVER file.mp3

      

+8


source


Covers can be added using the TagEditor project . To add:

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

      



To delete:

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

      

+1


source







All Articles