X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/0263903122cd22aefa9620a9497d5f58e332effb..c17d6e218e09277277fa3d0b267407e229b2ad15:/iTunesRemote.m diff --git a/iTunesRemote.m b/iTunesRemote.m index 3c1ce75..7a0c9cb 100755 --- a/iTunesRemote.m +++ b/iTunesRemote.m @@ -419,10 +419,12 @@ { NSAppleScript *script; NSAppleEventDescriptor *moof; - NSData *data; + NSData *data; + ITDebugLog(@"Getting current song album art."); script = [[NSAppleScript alloc] initWithSource:@"tell application \"iTunes\"\nget data of artwork 1 of current track\nend tell"]; moof = [script executeAndReturnError:nil]; data = [moof data]; + ITDebugLog(@"Getting current song album art done."); if (data) { return [[[NSImage alloc] initWithData:data] autorelease]; } else {