Last active
November 18, 2017 23:04
-
-
Save chabala/5627afc8f6e43ba101012590deb97b34 to your computer and use it in GitHub Desktop.
add album art to audio files
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
if ! [ -x "$(command -v eyeD3)" ]; then | |
sudo apt install eyed3 | |
fi | |
audio="${1}" | |
image="${2}" | |
eyeD3 --add-image "${image}:FRONT_COVER" "${audio}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment