Last active
June 9, 2021 22:57
-
-
Save nunq/c2cc2584396aa20f18ab33b819802368 to your computer and use it in GitHub Desktop.
mp3 player (sony walkman) album art not displayed fix [fish shell]
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
# fix album cover art not being recognized by various (sony walkman) mp3 players (~2011ish) | |
mkdir ./img | |
for i in (ls -1 *.mp3) | |
eyeD3 --write-images=img "$i" | |
eyeD3 --remove-all-images "$i" | |
# this is the magic. convert progressive to baseline jpgs | |
convert img/FRONT_COVER.jpg -interlace none img/cov.jpg | |
eyeD3 --add-image "img/cov.jpg:FRONT_COVER" "$i" | |
rm img/* | |
end | |
rm -r ./img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment