GrowlTunes 1.1.2 bug
Posted: Sun Jun 01, 2008 1:45 am
There's a bug in GrowlTunes 1.1.2. In GrowlTunesController.m the lines
do not work if iTunes version number consists of 3 numbers, which accounts for example for iTunes 7.6.2: "7.6.2" is not convertable to a floating number.
The result is that GrowlTunes erroneously switches to Retro Polling mode => no rating display, no artwork display, bad performance...
I am no Objective C programmer, but a quick fix worked for me. I commented the first 3 lines of aforementioned code lines out.
A better strategy would be: if the first character (being always a number) is below 5. If so convert to a float and do the check above. If true enable polling. In all other cases disable polling.
Anyway, thanks for a nice tool!
Code: Select all
if ([[[NSBundle bundleWithPath:itunesPath] objectForInfoDictionaryKey:@"CFBundleShortVersionString"] floatValue] < 4.7f)
[self setPolling:YES];
else
[self setPolling:NO];
The result is that GrowlTunes erroneously switches to Retro Polling mode => no rating display, no artwork display, bad performance...
I am no Objective C programmer, but a quick fix worked for me. I commented the first 3 lines of aforementioned code lines out.
A better strategy would be: if the first character (being always a number) is below 5. If so convert to a float and do the check above. If true enable polling. In all other cases disable polling.
Anyway, thanks for a nice tool!