Amarok Cover Art Transfer

I’ve got Amarok transferring and transcoding music to my Sansa Fuze. However the cover art that it gets from the Internet is not transferred. I haven’t completely figured this out yet, but there are some ideas as to how to do this. This script works for my Fuze with modifications:

coversdir="/media/SANSA FUZE/MUSIC"

database=sqlite

line 80:

convert "$inputfile" -resize 176x176 "$coversdir"/"$artist"/"$album"/folder.jpg