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!