Adium

Changeset 22460

Show
Ignore:
Timestamp:
01/22/2008 03:43:17 PM (10 months ago)
Author:
evands
Message:

Fixed permanent hang if iTunes is showing a modal dialogue (preferences, license agreement, etc.) when Adium attempts to poll it for song info. We'll now timeout after 3 seconds, catching up whenever iTunes deigns to broadcast its info (next time a song changes). Fixes #8310

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/ESiTunesPlugin.m

    r22247 r22460  
    308308 
    309309        //if the player was playing when the script was executed 
    310         if (![concatenatediTunesData isEqualToString:@"None"]) { 
     310        if (concatenatediTunesData && ![concatenatediTunesData isEqualToString:@"None"]) { 
    311311                 
    312312                //get the expected number of entries in the dictionary