Skip to content

Instantly share code, notes, and snippets.

@nunq
Last active June 9, 2021 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nunq/c2cc2584396aa20f18ab33b819802368 to your computer and use it in GitHub Desktop.
Save nunq/c2cc2584396aa20f18ab33b819802368 to your computer and use it in GitHub Desktop.
mp3 player (sony walkman) album art not displayed fix [fish shell]
# 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