Wednesday, June 01, 2005

Fetch Art 1.2 for Mac OS X 10.4 Tiger Released by yours truly

Just a quick note, that I've taken over development of the excellent Fetch Art application by Yoel Inbar. I finally got a version working 100% with Mac OS X 10.4.

It's available on my website here: http://www.aric.org/fetchart/

41 comments:

Gaspode said...

The installer of version 1.2 seems to be broken. I choose a different location for installation (/Applications/Utilities instead of /Applications). I ended up with new Applications and Library folders within /Applications/Utilities. Eg.: /Applications/Utilities/Library/iTunes/Scripts/Fetch Art.scpt

MySchizoBuddy said...

this is a great app, considering its free and does the reqired job. just one thing, when the album is a compilation of various artist then the search should be based on the name of the album not the name of the artist or song name.

gr8 work, :)

hackit98@madebig.net said...

I have quite a few suggestions, being a programmer myself. First of all it is a great app, and thanks for volunteering to do the repair work. I was actually anxious to do it myself.

I just have one question, for now. Why in the ____ would you convert the extremely small jpg to a whopping uncompressed pict file? What a waste of space. There should be an option to bypass converting and uploading the pict format. It should have an option to use the original jpg file all the way.

If you don't think that you have time, since it has been a while from the initial 1.2 release, then send it over and I would be glad to fix it for myself. I would even send you the code so you can take credit for it if you want. I just want more features that are so simple to add.

Aric said...

hackit98@madebig.net said...
...If you don't think that you have time, since it has been a while from the initial 1.2 release...

Uh, it's been a long time since the 1.2 release? I released it on June 1st. That's like 9 days. I promise to have another version out before Microsoft ships Longhorn. ;-)

Aric said...

Gaspode said...
The installer of version 1.2 seems to be broken....

Yep, you are correct. I will fix that in the next release.

Aric said...

MySchizoBuddy said...
this is a great app, considering its free and does the reqired job. just one thing, when the album is a compilation of various artist then the search should be based on the name of the album not the name of the artist or song name.

That's a good suggestion, and I'll look into the query options Amazon.com gives you. I am constrained by what they provide as interfaces.

Mark Aufflick said...

Sweet App!

Unfortunately though, the applescript that the app generates to copy the image to itunes fails if the selected track is on an ipod. for those of us who don't keep our music synced to our hard drives (my tibook drive is WAY too small...) this makes the app useless!

IF you want to make the source avaiable I'll have a poke around.

MichaelM said...

This is a handy tool. Thanks for taking over the project.

Time for the requests... What is the possibility to be able to run it in batch? I have ~6k songs and it would take a long time to do manually...

I picked up a copy of iTunesCool and after 16 hours it failed miserably. It was unable to find art for 4500 tracks many of which Fetch Art found with no problems.

kurly said...
This comment has been removed by a blog administrator.
Nate said...

Aric, thanks for taking this over. A few comments, if I may...

1----------------------------------

I'm trying to stitch together a freeware way to upload both album and artwork information to my website in order to display "now playing" info.

OnDeck seems to be the best choice to publish everything with a Mac via FTP, but Fetch Art 1.2 doesn't allow you to choose where to save images. It gives you a few workable options, but they're not modifiable. Likewise, OnDeck doesn't let you choose where to get images from.

The two programs would be a great solution if one or the other would let you specify a location for the images to be saved/retrieved. How about Fetch Art? :-)

2)----------------------------------

As Fetch Art 1.2 crawls through my iTunes library I keep on getting AppleScript Errors:

A) NSContainerSpecificError

B) Can't make ((class cLiP)) id 2744 of ((class sSrc)) id 34 of application "iTunes" into type string. (-1700).

These particular error is from the Weezer song "You Gave Your Love to Me Softly" from the album El Scorcho. I've tried everything, including "Convert ID tags" in iTunes, making sure the artist/album/song names match in Amazon, etc.

It would be great if Fetch Art could keep track of which tracks give it errors and provide a log/explanation at the end of the process instead of crashing in the middle.

Good luck! And thanks again.

Wes Plate said...

Thanks for keeping this great app alive. I am, however having problems with 1.2 in OS 10.3.9. Is 1.2 only for 10.4?

Each time Fetch Art is launched I have to locate the application for the script, and I get many many error messages popping up saying:

AppleScript Error
NSReceiverEvaluationScriptError: 4 (1)

ejl10 said...

Just installed this on my iMac... amazing. Thanks so much! However, I tried installing on my GF's new Powerbook and can't get it functional. It fails to convert the .jpgs to .picts, and she gets the error "Error reading file My Mac:Users....pict" Any thoughts? Songs are in her iTunes as well as on her iPod (I have no iPod).

Josh Clark said...

I've always enjoyed Fetch Art, and it's great to see that development continues in new hands! Thanks for taking on the project.

I just tried to install Fetch Art 1.2 on my G4 Cube running Panther 10.3.9, but the installer says it cannot install the app on my hard drive in the "Select a destination" screen.

The error message is: "You cannot install this software on this volume . (null)"

Do you have any suggestions for a workaround, or is it possible to install it manually without the installer?

Thanks again!
Josh

David said...

Installation of 1.2 seemed to go OK (script is in /Lib instead of ~/user/Lib but still shows up in iTunes) and FetctArt.app in /Applications as expected. However I can't get the app to run. The script reports that it is not running and doubleclicking on it does nothing.
MacOS 10.2.8
iTunes 4.6

Any ideas?

Thanks,
David

chris said...

Unfortunately the applications hangs up about half way through when I first launch it. Then I get these errors:

Can't make «class pLoc» of «class cURT» id 8726 of «class cLiP» id 6294 of «class cSrc» id 34 of application "iTunes" into type string. (-1700)

NSContainerSpecifierError (2)


Mac OS 10.4.2
iTunes 4.9 (17)

Patently Obvious! said...
This comment has been removed by a blog administrator.
Patently Obvious! said...

Aric,
Nice, etc. I've enjoyed Fetch Art for a while now.
was using 1.1.1 happily but recently I tried to use it on a new song. It got the art, looked good, but when I pressed "copy to iTunes" it gave an error message,
"Error copying artwork for "the artist name in question - the song title in question"" (The actual message had the actual song name and artist name of course.)
This song was a free mp3 download from the artist and was set to be opened by quicktime player, so I changed the default opening app to iTunes to see if that was a problem (no matter how unlikely) — no effect. Same result for several other songs.
Decided to look for a new version.
On installing 1.2.0, on the selecting destination step, I get this error, "You cannot install the software on this volume.(null)" This comes up for any volume.

If you have a suggestion or want more info let me know. Thanks

PS. If you want to send me the source code, I'll try to fix it, but cross your fingers because I know nothing about programming. I do however have a large finite number of monkeys with Xstudio equipped macs and something is bound to happen fairly soon ;-)

Patently Obvious! said...

Whoops! looks like my problem is pretty much (machine, OS version, symptoms, etc.) like josh clark's. (monkeys still available.)

Christopher Davis said...

I've found a good way to "convert" a JPEG to PICT data suitable for handing to iTunes without uncompressing the JPEG. It involves using QuickTime calls to create a PICT which is just a wrapper around the original JPEG data.

This code is actually a command-line tool that takes a JPEG file name on the command line and dumps the PICT data to standard output; however, it should be fairly easy to repurpose it.

err = FSPathMakeRef(argv[1], &ref, NULL);

if (err != 0) {
return err;
}

err = FSGetCatalogInfo(&ref,kFSCatInfoNone, NULL, NULL, &spec, NULL);
if (err != 0) {
return err;
}

err = GetGraphicsImporterForFile( &spec, &importer );

if (err != 0) {
return err;
}
err = GraphicsImportGetAsPicture(importer,&pich);
if (err != 0) {
return err;
}

size = GetHandleSize((Handle)pich);
bytes = write(1,*pich,size);

Moonchild said...

i've got some major problems with this app

1-no batch album art tranfer. Basically say i dont have artwork for an entire album and im listening to a song from it and want artwork for the entire album, this application can't do that.

2-you cant re-open the main window if it closes but this could be due to this apple script error
"NSReceiverEvaluationScriptError: 4 (1)"
i constantly get that when i try to re-open the main window

3-when the song changes fetch art doesn't update and try to get the album art.

over all i think this would be the best application when it comes do getting album art if the developer continues to let it be free and really fix it up so it can do batch tranfers, and other things. applications like coverbuddy are big and are expensive.

Aric said...

moonchild, I think you are misunderstanding how to use this application.

1) It does do batch transfers for any playlists or selected tracks including albums. Just sort by album name in iTunes, then select the tracks from that album and tell Fetch Art to get them.

2) Not sure about how you reopen the main window. The script should be launched from iTunes. I haven't seen the applescript error you are getting.

3) Fetch art is made to get art for the currently selected group of songs/playlists. It's not a "real time" app that would grab art for every song as it is playing. To use it, select the group of songs (your whole library if you wanted) and tell it to get the art. It will get it all. Then if you add a new song, you would have to run Fetch Art again to get new art for the songs you added after the last time your ran Fetch Art.

Joker34563 said...

I installed and downloaded fine, however when it comes to copying the album covers into itunes, i get error message for every album cover? and if i can't fix this, how do i uninstall fetch art so it isn't on the top bar when itunes opens?

Paul Kamp said...

First off, excellent application!!

Here are my comments after using it the first time:

- Every time I run the script it asks me where the application is. The script should know so I do not have to do the association.

- Some songs are available on different albums. It would be great if you added a feature that allowed the user to choose the album to associate with the song.

Separately, I wonder if Amazon is the only source for the album art. Perhaps if the script looked in multiple locations there would be a higher hit rate in finding the album art, I got about 90%.

Thanks again for this great app!

Bob M. said...

Originally posted over at VersionTracker before I noticed the blog link.

Haven't used the utility in ages (since previous development ceased), so nothing installed from other versions. Installed fresh with installer package (both from mounted DMG and from copied version on desktop). iTunes shows it in the script menu, but launching the script (or the app separately) results in the following error message:

"Sorry, Fetch Art requires AppleScript Studio 1.1 or later."

PowerPC G4 Dual 1GHz
1.5GB RAM
OS X 10.4.2
iTunes 5.0 (34)

Thanks!

mbaudis said...

script error comments:

itunes 5 converted some (maybe "not found") tracks to "streams" (additional stream icon with title). fetch art hangs at those.

a simple workaround when processing many tracks is to do a smart playlist, and exclude streams from it.

ManicMac said...

just tried to install Fetch Art 1.2 on my G4 PowerMac running Panther 10.3.9, but the installer says it cannot install the app on my hard drive in the "Select a destination" screen.

The error message is: "You cannot install this software on this volume . (null)"

Greg said...

Hi,

Your application looks really fine, it's excatly what I'm looking for. BUT, I'm french and most of my french album can't be found on amazon.com is here any way to add amazon.fr as a possible source for artworks ?

Have a good day.

Henry Kautz said...

Great app! Here's a bug report: Fetch Art will print an error message and hang if the album names contains characters from the extended ascii set, such as "a" with a overbar. For example, a lot of Hawaii music uses extended characters. When the album name is
Na Mele Henoheno Vol 2
and the first "a" has an overbar, Fetch Art prints the following error message and hangs:

Can't make alias "Macintosh HD:Users:kautz:Music:iTunes:iTunes Music:Compilations:Na¯ Mele Henoheno Vol 2:03 Pakalo¯lo¯.mp3" into type string. (-1700)

super said...

Hi Aric,

Fetch art has a problem copying art to itunes with Itunes v6 Mac OSX v 10.4.3.

Please let me know if you are no longer supporting this app.

Thanks

R.Benz

super said...

fetch art ain't copying imto itunes 6 running OSX 10.4.3
are you countinuing to support this app?

super said...

fetch art ain't copying imto itunes 6 running OSX 10.4.3
are you countinuing to support this app?

Aric said...

It's working fine for me with the latest iTunes and Mac OS X.

Not sure how to debug your problem as you didn't leave any more information.

matthk said...

Getting the same error:
"You cannot install this software on this volume . (null)"

Is there a fiux for this yet?
Someone email me!

Aric said...

For the record, it does appear Fetch Art does not work on the latest Intel based Macs. It should work with all other Macs with recent OS X and iTunes software. I will continue to debug the Intel mac issue, however, since I don't own an Intel Mac it may take some time.

Marino said...

How do I delete/change what Fetch Art has inserted?
The libary is not in /Library/Application Support/Fetch as the siftware claims.

I've got 285 albums, just under 3000 songs. It took over 6 hrs to look for all of the art, and I just downloaded it all, hoping I could change whatever was incorrect (approx 40 covers missing/incorrect). I tried to drag an new image over the existing artwork, searching for the library & deleting that jpeg, restarting iTunes & the powerbook. The offending cover is still there.

Should I try to sort out what's wrong or just delete everything & manually search & attach 285 album covers?

G4 TiBook
OSX 10.3.9
iTunes v6

Aric said...

Hello Marino.

I don't fully understand your question but if you want to remove the art, which is stored inside the music file, you need to go into iTunes, select a track with the art, do a Get Info, Click the Artwork tab, and Delete the art. As for what's stored in the library, the art doesn't get stored there permanently, only cached art files. The art itself is stored within the music file.

darth said...

hi,
as you noted in your own comments, it doesn't work on Intel Macs correctly-at least not on my MacBook and 10.4.7/iTunes 6.05(20). It will start processing, then locks up on certain songs. Force quitting, selecting quit from the Menu or Dock don't work. I have to go into Activity Monitor to kill the process.

How do I get rid of the script icon that you installed in the iTunes menu?

darth said...

nevermind, aric, found the link on your sidebar for uninstallation-thanks!

rjp said...

It dosent work on Snow Leopard so how do i get rid of the script icon in itunes? Theres no folder library.itunes.scripts.

rjp said...

How do you remove the itunes script icon out of snow leopard? The instructions for uninstall don't work.

Aric said...

It should be in Library/iTunes/Scripts.