18 Apr 2017
Tipps für das Umbenennen von mp3-Dateien und hinzufügen von Covers
With Linux you have severel ways to edit your mp3 files. Some very useful tipps i will share here using eyeD3.
Install the python program “eyeD3”. It is included in nearly every distribution, or get it from eyed3.nicfit.net
- Add a cover to all mp3s in current directory
for i in *mp3; do eyeD3 --add-image=zzzcover.jpg:FRONT_COVER "$i"; done
- Change genre of all mp3s in current directory
for i in *mp3; do eyeD3 --genre "15" "$i"; done
- Change id3 tag album of all mp3s in current directory
for i in *mp3; do eyeD3 --album "Aversion" "$i"; done
- Remove comment and description of all mp3 files in current directory
eyeD3 --user-text-frame="COMMENT:" *mp3
eyeD3 --user-text-frame="DESC:" *mp3
- Change date of a mp3 file
eyeD3 --recording-date 2013 my-file.mp3
- Rename the filename of mp3s according to the tag (examples, YMMV)
eyeD3 --rename '$artist - $album - $track:num $title' *mp3
eyeD3 --rename '$album - $track:num $artist - $title' *mp3