I've been trying to set album art image in mp3 files programmatically for hours now.
(I'm using a Mac running Monterey 12.3.1)
Using the kid3-cli I can set all other metadata using this command:
kid3-cli -c "set artist 'Artist Name'" -c "set album 'Album Name'" -c "set title 'Song Title'" /Path/to/my/audio.mp3
I've extended this command with set picture
and all the other metadata updates, but the photo does not show for the audio file in finder.
Using this command:
kid3-cli -c "set artist 'Artist Name'" \
-c "set album 'Album Name'" \
-c "set title 'Title'" \
-c "set albumart 'URL for album art'" \
-c "set picture: '/Path/to/picture' ''" \
"/path/to/mp3/file.mp3"
I've followed the documentation here: Kid3 Documentation and have tried running some variations of the command for setting the picture hoping one would work.
These are the command variants I've used to try and get the image to display.
// with semicolon after command
kid3-cli -c "set picture: '/Path/to/picture' ''" "/Path/to/my/audio.mp3"
// without semicolon
kid3-cli -c "set picture '/Path/to/picture' ''" "/Path/to/my/audio.mp3"
// swapping single/double quotes
kid3-cli -c 'set picture: "/path/to/picture" ""' "/path/to/my/audio.mp3"
The interesting thing is when I run kid3 cli and enter get
it prints out the metadata and shows this for picture:
*Picture: Cover (front) /path/to/my/picture/thumb.jpg
But based on the docs it should be setting the actual image data when calling set picture
and not the path to the picture.
Am I missing something??