I've written an iTunes script,
here, to extract and convert album art into Windows BMP files that Rockbox understands. I have not used Applescript much, and have only run this script on my own files, so I'm looking for people willing to try it out before I make it more publicly available.
I wrote this on OS X 10.5.6 and iTunes 8; I don't know which older versions it might also work with.
To install the script, download the zip file, extract it, and put the file in it (
Export Album Art for Rockbox) into your
~/Library/iTunes/Scripts folder.
To run the script, select some tracks and invoke the script from iTunes script menu. (If no tracks are selected, it should run on the current playlist, but this hasn't been tested much.) It will ask for an image size in pixels, defaulting to 100. For tracks that belong to an album, it will create an image file "
cover.sizexsize.bmp" taken from the first selected track that has album art. For tracks that don't belong to an album, it will create individual image files "
filename.sizexsize.bmp".
There are some other options that are currently not exposed, and haven't really been tested; they can only be used by editing the properties at the top of the script:
- export_every_track: create a "filename.sizexsize.bmp" for every track, rather than one image per album
- overwrite_existing_files: replace existing album art files, if any
- image_name_uses_album: use the album ID3 name rather than "cover" for album images
- image_name_uses_size: (don't) add "sizexsize" to the file name
Important: This script is free, but it might be worth less than you paid for it. Don't blame me if it destroys the universe. You have backups, right?