Friday, March 17, 2006

Version 2.2.2

Version 2.2.2 has just been released. It offers several bug fixes and a few new features/tweaks.

Fix 1:
Previously there were problems if the user had multiple playlists in their iTunes library with the same name. Most people don't know this is possible, but it is. Well this was a tiny little oversight in the code (or should I say failure to read apple's documentation fully), which has now been corrected.

Fix 2:
In version 2.2.1 I added support for resolving aliases to the iTunes Music Library.xml file. Well, apparently I have problems copying and pasting code from apple's website, because I failed to copy their code correctly, and the result was a failure to resolve an alias if it pointed to an external drive. (At least I think external drives were the only thing affected.) I've corrected this oversight.

Fix 3:
(More like a feature addition...) The alarm editor now automatically reselects your track and/or playlist. So if you chose to wake up to a playlist, and you open the alarm in the alarm editor, your selected playlist will be restored when looking at your music. The same thing happens if you selected a track. Also, if you switched to a playlist (say a playlist for songs you like to wake up to) and selected a song from there, then both the playlist will be displayed and the song within the playlist will be selected. Makes switching songs a lot faster for many people.

Fix 4:
The alarm clock would sometimes crash if you owned a laptop, and quickly switched between wake and sleep several times in succession. (Obviously, this didn't affect everyone) Normally it happens if you have the lid shut, and plug in a usb device. In this case the computer would wake up, and immediately go back to sleep when it realized there wasn't an external display attached. If you then unplugged the usb device (causing it to wake up and go back to sleep again) the alarm clock would crash. (Yeah, it happens under just about those particular conditions. And yes, I did take me forever to track down this sequence.) Well anyway, this seemed to be a problem with apple's code, in particular the [NSTask waitUntilExit] method. So instead of using it, I wrote my own version and all is fixed.

Fix 5:
I tweaked the look of the 'Alarm' tab in the alarm editor. Made it a little simpler... I think you'll like it.

2 comments:

Anonymous said...

Hi Robbie,

I really like your programme! I am just a bit baffled by the sudden jump in programme size with the update from about 700 kB to 4.8 MB! Why is that?

Bernard

Robbie Hanson said...

There are 2 download links on the website. A "full version" and an "upgrade". The full version contains the application plus sample alarms and weighs in at 4.8 MB. The upgrade contains just the application (since if you're upgrading, you don't need the sample alarms again) and weighs in at 760 KB.

Did you download the full version instead of the upgrade?