eyeD3 is a Python module and command line program for processing ID3 tags. Information about mp3 files (i.e bit rate, sample frequency, play time, etc.) is also provided. The formats supported are ID3v1 (1.0/1.1) and ID3v2 (2.3/2.4).
For some mp3 files (don't know what's special about them) the add-image feature does not work, even though it seems to work.
This is the output from eyeD3 music.mp3:
----------------------------------------------------------------------------------------------------------------------------
Time: 47:59 MPEG1, Layer III [ 128 kb/s @ 44100 Hz - Joint stereo ]
----------------------------------------------------------------------------------------------------------------------------
ID3 v1.1:
title: Neil Shubin on Tiktaalik, Ball
artist: quanta@simonsfoundation.org (S
album: The Joy of x
release date: 2021
track: 1 genre: Other (id 12)
----------------------------------------------------------------------------------------------------------------------------
Then I do eyeD3 -v --add-image image.jpg:FRONT_COVER:Desc music.mp3 and get
----------------------------------------------------------------------------------------------------------------------------
Adding image image.jpg
Time: 47:59 MPEG1, Layer III [ 128 kb/s @ 44100 Hz - Joint stereo ]
----------------------------------------------------------------------------------------------------------------------------
ID3 v1.1:
title: Neil Shubin on Tiktaalik, Ball
artist: quanta@simonsfoundation.org (S
album: The Joy of x
release date: 2021
track: 1 genre: Other (id 12)
FRONT_COVER Image: [Size: 35349 bytes] [Type: image/jpeg]
Description: Desc
----------------------------------------------------------------------------------------------------------------------------
7 ID3 Frames:
TALB (30 bytes)
TIT2 (30 bytes)
TPE1 (30 bytes)
TRCK (30 bytes)
TDRL (30 bytes)
TCON (30 bytes)
APIC (30 bytes)
0 bytes unused (padding)
Writing ID3 version v1.1
----------------------------------------------------------------------------------------------------------------------------
But right after that, no image (running eyeD3 music.mp3 again) :
----------------------------------------------------------------------------------------------------------------------------
Time: 47:59 MPEG1, Layer III [ 128 kb/s @ 44100 Hz - Joint stereo ]
----------------------------------------------------------------------------------------------------------------------------
ID3 v1.1:
title: Neil Shubin on Tiktaalik, Ball
artist: quanta@simonsfoundation.org (S
album: The Joy of x
release date: 2021
track: 1 genre: Other (id 12)
----------------------------------------------------------------------------------------------------------------------------
For some mp3 files (don't know what's special about them) the add-image feature does not work, even though it seems to work.
This is the output from
eyeD3 music.mp3
:Then I do
eyeD3 -v --add-image image.jpg:FRONT_COVER:Desc music.mp3
and getBut right after that, no image (running
eyeD3 music.mp3
again) :