I am using 4.6 with itunes 6. The -r option doesn't seem to work. I've tried with jpg and bmp files, with fully qualified path and without.

All other tags work properly. And ideas?

+Reardon

I think I've actually used that only once, when I first tested it. It worked then.

You should give it the full path, and if that path contains spaces, you should enclose the whole path+filename in quotes. Like itunesencode -r "c:\full path\file.jpg". Also, it probably only likes JPG or PNG files, dunno about BMP's.

You should give it the full path, and if that path contains spaces, you should enclose the whole path+filename in quotes. Like itunesencode -r "c:\full path\file.jpg". Also, it probably only likes JPG or PNG files, dunno about BMP's.

i know i just encountered a weirdness using the iTunes COM API... if a path contains a double-slash (\\) instead of a single slash anywhere, Windows has no problem with it, but iTunes will choke on it.

Don't know what else it has problems with... try putting the folder.jpg someplace else, and then try again? Is the file writeable?

...works. I created the WAV file using Audacity, nothing particularly special about it. The temp.jpg was created using nothing more than paint to draw some crap and saving it as a jpg. The jpg dimensions was 300x300, which is what I usually use for most album art.

My only suggestion is to examine your jpg file more closely. Perhaps iTunes cannot read the file or doesn't like it for some reason. Make sure that it is actually a JPG and not a misnamed GIF or some such thing. The PNG format should also be acceptable by iTunes.

Otto, I'm converting from a FLAC file using FooBar 0.8.3 if that makes any difference.

The cover art is a pulled from Amazon.com, it states it is a JPG and Photoshop Elements and the Windows Picture Viewer agree. I've dragged this file into the "Art Panel" in iTunes and it will associate it with the file at that point.

Any other suggestions?

Otto, I've used iTunesEncode a lot to convert my FLAC files to AAC. It works really well, I was trying to start adding cover art to files. Thanks for all your work Otto, too bad you lost the source.

...works. I created the WAV file using Audacity, nothing particularly special about it. The temp.jpg was created using nothing more than paint to draw some crap and saving it as a jpg. The jpg dimensions was 300x300, which is what I usually use for most album art.

My only suggestion is to examine your jpg file more closely. Perhaps iTunes cannot read the file or doesn't like it for some reason. Make sure that it is actually a JPG and not a misnamed GIF or some such thing. The PNG format should also be acceptable by iTunes.

I finally figured out the problem. For some reason the -r option requires a fully-qualified path. Could you update so that relative paths work?

I know this is an old thread, but I was looking to do this and was able to accomplish it with itunesencode and EAC, taking advantage of the way I have EAC automatically organize my music at extraction time.

So I have a base folder I store all my music "c:\stuff\Music", then a folder for artist, then one for each album. I used the command line option below. The %soemthing% are variables that EAC provides.

-r "c:\stuff\music\%artist%\%albumtitle%\folder.jpg"

As long as the file called folder.jpg is in the file it is automatically added to the tag.