eyeD3 is a command-line tool for reading and manipulating metadata of MP3 files. MP3 files, short for MPEG-1 Audio Layer 3, are a popular format for audio files, and they often contain metadata, such as the title, artist, album, and genre of the audio. eyeD3 can be used to read this metadata, as well as to add or change it.
eyeD3 can be used to display the metadata of an MP3 file in a human-readable format by running the command eyeD3 filename.mp3. This command will print out the metadata of the file, including the title, artist, album, and genre. In addition to reading metadata, eyeD3 can also be used to add or change metadata. For example, you can use the command eyeD3 –artist=”New Artist” –title=”New Title” filename.mp3 to change the artist and title of an MP3 file. You can also use eyeD3 –add-image=cover.jpg:FRONT_COVER filename.mp3 to add an image to the mp3 file as a cover.
eyeD3 Command Examples
1. View information about an MP3 file:
# eyeD3 filename.mp3
2. Set the title of an MP3 file:
# eyeD3 --title "A Title" filename.mp3
3. Set the album of all the MP3 files in a directory:
# eyeD3 --album "Album Name" *.mp3
4. Set the front cover art for an MP3 file:
# eyeD3 --add-image front_cover.jpeg:FRONT_COVER:filename.mp3