« Documentation | Main | Playing fair is for suckers »

Update to the Update

Welll, with version 4.0.1, Apple fixed a little issue my scripts have been having with shared playlists (Thanks guys!!!). So, the update to that update is out.

As it turns out, the method I had chosen to deal with 4.0's little issues allowed me to handle the 4.0.1 update with relative ease…

What I had done was simply add an error - checking, or "Try" block to the section of code that grabs the track info. If there was an error, then we assumed that it was a shared playlist error, and changed the signature in E'rage or Mail to handle that.

Well, now with 4.01, we have fewer error conditions. So, all I had to do was check the version of iTunes. If it's less tha 4.01, then we do the "Shared playlists don't work, yadda." Otherwise, the sig changes to "iTunes is haveing issues right now."

So, by blind luck, I was able to keep the same code working for really different features.

Gotta love providence.

The updated Entourage sigfromiTunes script, and the Mail version are now available for your enjoyment.

john

Posted by John C. Welch at 07:58 | Permalink


Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?


digital.forest Where Internet solutions grow

 
Family
The Artwork of Melissa Findley
Diane Francis @ the National Post Eric Francis @ the Calgary Sun
Apple Amazon Links
Apple Mac OS X Server 10.5 [Unlimited]

Apple Mac OS X Server 10.5 [10-Client]

Apple Mac OS X 10.5 Leopard

Apple Mac OS X 10.5 Leopard [5-User Family Pack]

Amazon Book Links
Legacy of Ashes: The History of the CIA

The Donnas: Bitchin'

Wizards at War (The Young Wizards, Book 8)

The Demon's Sermon on the Martial Arts

The Collected Stories of Arthur C. Clarke

JavaScript and Ajax for the Web, Sixth Edition

Awakening Warrior: Revolution in the Ethics of Warfare

FOB Links

Mac Web Writers

Techie Links

Review Victims