Created
October 25, 2019 21:05
-
-
Save dedeibel/cf9abc7462d7e9e7dbae68ce0e545c40 to your computer and use it in GitHub Desktop.
Update audio albums cover art
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# delete all images and other stuff - make sure you check the filter | |
find . -type f -not -iname "*.mp3" -delete | |
# do some name cleaning | |
find . -name "*MP3" -exec rename "s/(.*)\.MP3$/\$1.mp3/" "{}" \; | |
# find new cover art | |
sacad_r . 300 AlbumArt.jpg 2>&1 | tee /tmp/coverlog.txt | |
# remove old embedded images | |
eyeD3 --remove-all-images . | |
# embed the new images as front cover | |
find . -type d -exec bash -c "set -e ; cd '"{}"' ; eyeD3 --add-image=AlbumArt.jpg:FRONT_COVER ." \;\n | |
easytag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment