PDA

View Full Version : Fixing iTunes downloaded cover art



AndrewFG
2008-10-04, 05:29
As various people have discovered, the SqueezeCenter scanner is not able to extract album cover art that has been downloaded from Apple iTunes store. This is because such downloaded art is stored by iTunes in a proprietary format that the scanner cannot interpret.

In order to overcome this problem, I created a small Windows application that automates iTunes (via its COM automation interfaces) to copy the downloaded artwork from its proprietary folder and save it (i.e. embed it) directly within the respective MP4 (M4A) files themselves.

Since the latter embedded art is encoded in a non proprieatary way (i.e. according to the MPEG-4 standard), this tool enables the SqueezeCenter scanner to find and extract the respective artwork images from the music files in the normal way.

You can download it here: http://www.whitebear.ch/music#iTunesArtFixer (look for iTunesArtFixer)

Also my M4A Windows Explorer shell extension is here: http://www.whitebear.ch/music

The iTunesArtFixer application requires iTunes to be installed on your PC, and it runs on Windows Vista and XP.

EnochLight
2008-10-06, 01:03
Wow - what a terrific piece of software! I'm planning to try this today - cheers!

simonjedrake
2008-10-06, 13:41
As various people have discovered, the SqueezeCenter scanner is not able to extract album cover art that has been downloaded from Apple iTunes store. This is because such downloaded art is stored by iTunes in a proprietary format that the scanner cannot interpret.

In order to overcome this problem, I created a small Windows application that automates iTunes (via its COM automation interfaces) to copy the downloaded artwork from its proprietary folder and save it (i.e. embed it) directly within the respective MP4 (M4A) files themselves.

Since the latter embedded art is encoded in a non proprieatary way (i.e. according to the MPEG-4 standard), this tool enables the SqueezeCenter scanner to find and extract the respective artwork images from the music files in the normal way.

You can download it here: http://www.whitebear.ch/music#iTunesArtFixer (look for iTunesArtFixer)

Also my M4A Windows Explorer shell extension is here: http://www.whitebear.ch/music

The iTunesArtFixer application requires iTunes to be installed on your PC, and it runs on Windows Vista and XP.

Andrew.
This sounds a great bit of software, does it also extract the album art for uploaded .mp3 files that itunes has located & stored the artwork for in it's proprietary folder?
If so you have then created an extremely welcome application that will be worth a few /$'s to you...................
Simon

autopilot
2008-10-06, 13:44
great work, this will be very useful to a lot of people.


Andrew.
This sounds a great bit of software, does it also extract the album art for uploaded .mp3 files that itunes has located & stored the artwork for in it's proprietary folder?
If so you have then created an extremely welcome application that will be worth a few /$'s to you...................
Simon

Completely off topic, but nice to see a fellow Shrewsbury lad on the forum :)

Excubey
2008-10-07, 11:28
I will post back on my findings....

Excubey
2008-10-08, 17:05
Great software, worked for me the first time. Using XP and iTunes 8.0.1.11

One question - for a typical album with 10 songs, why does your software prompt 10 times, when the album cover would be the same for all 10 songs?

Also, would it be possible for the software to run unattended - in batch - where I would always agree to it "fixing up" the album art? That would save me a ton of time!!

All in all, a great great piece of software - let me know where to donate some bucks...

Excubey

daverich4
2008-10-08, 17:26
I'm not sure if this is Mac only or not but the 'Embed Artwork' script at Doug's Scripts does all of the things you're asking for. It took about 5 minutes to download and install and just another minute to test on a single CD. It works really well. I told it to do the rest of my cd's (a little over 400) and went to work. When I got home all of the album covers displayed properly on my controller. When I RIP additional CD's I just have to select them and run the script on just the new ones. If I don't get the artwork when I RIP the CD's to ITunes I just go to Amazon and drag their artwork to the artwork window in ITunes and then run the script.

-dave-

Excubey
2008-10-08, 17:59
this is awesome software, brilliant contribution!

andyg
2008-10-08, 18:21
FYI, SC 7.3 now supports iTunes downloaded artwork natively. So far, it is working on Mac. I'll be adding Windows support in a few days.

autopilot
2008-10-10, 01:39
FYI, SC 7.3 now supports iTunes downloaded artwork natively. So far, it is working on Mac. I'll be adding Windows support in a few days.

7.3 is lining up to be quite a sweet release :)

pippin
2008-10-10, 02:05
FYI, SC 7.3 now supports iTunes downloaded artwork natively. So far, it is working on Mac. I'll be adding Windows support in a few days.


Do you use iTunes COM or have you finally found out how to identify the tracks in the iTunes folder hierarchy?

mherger
2008-10-10, 02:20
> Do you use iTunes COM or have you finally found out how to identify the
> tracks in the iTunes folder hierarchy?

On Windows it will be COM. On OSX it's AppleScript. Two distinct solutions, and none for Linux.

--

Michael

AndrewFG
2008-10-10, 10:33
Andrew.
This sounds a great bit of software, does it also extract the album art for uploaded .mp3 files that itunes has located & stored the artwork for in it's proprietary folder?
Simon

I am not 100% sure. It works fine on M4A files. Unfortunately I don't use MP3 so could not test it myself. => Why not give it a try?

AndrewFG
2008-10-10, 10:40
One question - for a typical album with 10 songs, why does your software prompt 10 times, when the album cover would be the same for all 10 songs?

Excubey

There are two different approaches to storing album cover art: one is to do it at the level of the album and the other is to do it at the level of the track. And the M4A file format stores art on a per track basis, which is why the program prompts you 10 times. Admittedly this means the art is stored in more places than it is strictly needed (so it takes more disk space) but it also means that even if you isolate and move an individual track elsewhere it carries its art with it...

AndrewFG
2008-10-10, 10:43
Also, would it be possible for the software to run unattended - in batch - where I would always agree to it "fixing up" the album art? That would save me a ton of time!!

Excubey

Is there not a "Dont ask me again" checkbox on the dialog?

MrSinatra
2008-10-10, 14:43
and people wonder why i hate itunes.

i still think one artwork file per folder is less problematic than embedded artwork in the file.

EnochLight
2008-10-11, 22:33
As various people have discovered, the SqueezeCenter scanner is not able to extract album cover art that has been downloaded from Apple iTunes store. This is because such downloaded art is stored by iTunes in a proprietary format that the scanner cannot interpret.

In order to overcome this problem, I created a small Windows application that automates iTunes (via its COM automation interfaces) to copy the downloaded artwork from its proprietary folder and save it (i.e. embed it) directly within the respective MP4 (M4A) files themselves.

Since the latter embedded art is encoded in a non proprieatary way (i.e. according to the MPEG-4 standard), this tool enables the SqueezeCenter scanner to find and extract the respective artwork images from the music files in the normal way.

You can download it here: http://www.whitebear.ch/music#iTunesArtFixer (look for iTunesArtFixer)

Also my M4A Windows Explorer shell extension is here: http://www.whitebear.ch/music

The iTunesArtFixer application requires iTunes to be installed on your PC, and it runs on Windows Vista and XP.

OK, I tried it and it doesn't work for me. I keep My Documents (and hence My Music and iTunes library XML, etc) on a drive other than my C drive. Apparantly your application doesn't locate it if it's not on the C drive?


FYI, SC 7.3 now supports iTunes downloaded artwork natively. So far, it is working on Mac. I'll be adding Windows support in a few days.

Well that's awesome news! Any idea when 7.3 will officially be released?

Cheers!

Kim.T
2008-10-11, 23:43
Try to search the forum for iArt - a program that also can extract albumart from iTunes.

AndrewFG
2008-10-18, 05:46
OK, I tried it and it doesn't work for me. I keep My Documents (and hence My Music and iTunes library XML, etc) on a drive other than my C drive. Apparantly your application doesn't locate it if it's not on the C drive?


My application does not itself look for files on any specific drives or folders. What is does is to remote control iTunes to i) iterate through all the music files in the iTunes music library, then ii) save the respective artwork to a temporary file, and finally iii) reload the artwork again from the temporary file.

Therefore if you have a problem with it not scanning your music, then it is probably due to an error in your setup of iTunes. Check if you can actually see your music files in iTunes own Music folder when you start it manually. (If iTunes can see your files when you start it manually, then it can see them when my application starts it...)

BTW I have iTunes set up so that my music files are in G:\Music\ so I know it works fine regardless of where the folder is located...

earburn
2008-12-10, 11:05
It's absolutely brilliant that 7.3 pulls art from "downloaded artwork" folder, since embedding artwork in every track causes serious bloat. However, I notice that the artwork only appears to be associated with the first track of each album. Not exactly a bug, but it would be lovely if SC recognized that the downloaded art is for every track on the album, like iTunes does. Many thanks for your stellar work!

hwjernigan@comcast.net
2008-12-29, 14:32
FYI, SC 7.3 now supports iTunes downloaded artwork natively. So far, it is working on Mac. I'll be adding Windows support in a few days.

I have upgraded to 7.3, but the only iTunes artwork I find is for the few albums I have purchased from them. It does not show the artwork for the many albums I have loaded into iTunes from cd's.

What address should I include in the SqueezeCenter Settings Advanced tab Artwork and Artwork Folder to find the iTunes artwork?

tony79
2009-01-02, 19:44
I have the same problem as earburn, the artwork is only shown on the first track of each album.

In my case, I believe the artwork is embedded in each file individually (if I open a directory with music on my Mac then it shows the art as icons for the MP3 files).

The albums I bought on Amazon are handled correctly, all tracks show the art work through SC. Only the ripped albums seem to have this problem. Any ideas?

kmr
2009-01-02, 20:05
I had the problem where 7.3 did NOT find the artwork I downloaded via iTunes for my ripped CDs. (See http://forums.slimdevices.com/showthread.php?t=56399 for the thread in the SqueezeCenter forum.) Since I'm on a Mac, I ended up using the "Embed Artwork" AppleScript (http://dougscripts.com/itunes/scripts/ss.php?sp=embedart) from Doug's AppleScripts to embed the artwork in the first track of each album. See the referenced thread for all the details. I should turn this into a bug report...

SJobson
2009-01-03, 04:30
I have the same problem as earburn, the artwork is only shown on the first track of each album.

In my case, I believe the artwork is embedded in each file individually (if I open a directory with music on my Mac then it shows the art as icons for the MP3 files).

The albums I bought on Amazon are handled correctly, all tracks show the art work through SC. Only the ripped albums seem to have this problem. Any ideas?I've discovered this as a problem with iTunes - but on my iPhone. When I sync a whole album with my iPhone, the artwork shows up fine; however, when I sync just a song (say, by sticking a Genius playlist on it) then unless it's the first track of an album, the artwork only shows up in Coverflow. Bonkers! It works fine in Squeezecentre, oddly...

tony79
2009-01-03, 07:12
I had the problem where 7.3 did NOT find the artwork I downloaded via iTunes for my ripped CDs. (See http://forums.slimdevices.com/showthread.php?t=56399 for the thread in the SqueezeCenter forum.) Since I'm on a Mac, I ended up using the "Embed Artwork" AppleScript (http://dougscripts.com/itunes/scripts/ss.php?sp=embedart) from Doug's AppleScripts to embed the artwork in the first track of each album. See the referenced thread for all the details. I should turn this into a bug report...

Why was it enough for you to embed the artwork only in the first track?

I used Gimmesometune (sorry, Mac-only as well) to embed the artwork into each individual file. Pretty sure that worked fine.

kmr
2009-01-03, 10:59
Why was it enough for you to embed the artwork only in the first track?

Well, if you look at the log files in the original thread, SqueezeCenter was only looking at the first track for each album for artwork, so I only embedded the artwork in the first track. I may go ahead and embed all of them, though - the extra disk space isn't much. But it may be moot soon; I'm starting on a project to re-rip everything to FLAC using Max, then batch convert to AAC-192kbps for iPod / iTunes. But that's another story...

tony79
2009-01-04, 13:19
It looks like my problem is very different. My log file contains 300+ lines with the following error message:

[09-01-04 15:09:50.2092] Slim::Plugin::iTunes::Importer::Artwork::OSX::expo rtSingleArtwork (107) Error: Error from artwork script: Error getting artwork: iTunes got an error: Parameter error.
[09-01-04 15:09:50.3987] Slim::Plugin::iTunes::Importer::Artwork::OSX::expo rtSingleArtwork (107) Error: Error from artwork script: Error getting artwork: iTunes got an error: Parameter error.
[09-01-04 15:09:50.5874] Slim::Plugin::iTunes::Importer::Artwork::OSX::expo rtSingleArtwork (107) Error: Error from artwork script: Error getting artwork: iTunes got an error: Parameter error.


I found another post, apparently about the same problem: http://forums.slimdevices.com/showthread.php?t=57047

tony79
2009-01-04, 15:31
Figuring that it couldn't hurt, I decided to run the AppleScript as per kmr's suggestion. The artwork was re-embedded, and now it works!

I'm guessing that there is a bug in either Gimmesometune or SC that resulted in this behavior.

dborod
2009-01-07, 14:26
Rather than bloat up all my tracks with images, I used Doug's "Save Album Art" applescript to save a 300x300 version of the cover art as "cover.jpg" and a 100x100 version of the file as "thumb.jpg" which SC is happy to use.

I was happy to hear that SC can now extract album art from iTunes directly, but it's solution is incomplete as tracks don't acquire cover art from the first tract on the CD. I guess I'll continue to have "cover.jpg" files in my library.

MrSinatra
2009-01-07, 14:28
why do you need two?

why not just have SC use cover.jpg?

dborod
2009-01-07, 14:33
I have the same problem as earburn, the artwork is only shown on the first track of each album.

In my case, I believe the artwork is embedded in each file individually (if I open a directory with music on my Mac then it shows the art as icons for the MP3 files).

I think the Mac's quick look daemon is constructing the icon on the fly by grabbing the artwork from the iTunes artwork repository rather that grabbing it from the ID3 tag.

iRob
2010-05-23, 15:46
FYI, SC 7.3 now supports iTunes downloaded artwork natively. So far, it is working on Mac.

Andy, I’m up to SC 7.5.0 now. And I’ve noticed that this feature to interpret and import album art from iTunes works for the most part. Although, I have noticed that typically only the first track in a given album will have the imported art work.

Can you confirm this?