X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/259ae5fac769954c7db5974b86e791a929fe6700..3af6b8277d3305427112b099523abeab3c231816:/MainController.m diff --git a/MainController.m b/MainController.m index 7a8c874..4994a7d 100755 --- a/MainController.m +++ b/MainController.m @@ -199,7 +199,9 @@ static MainController *sharedController; [statusItem setAlternateImage:[NSImage imageNamed:@"MenuInverted"]]; if ([df boolForKey:@"audioscrobblerEnabled"]) { - [[AudioscrobblerController sharedController] attemptHandshake:NO]; + if ([PreferencesController getKeychainItemPasswordForUser:[df stringForKey:@"audioscrobblerUser"]] != nil) { + [[AudioscrobblerController sharedController] attemptHandshake:NO]; + } } [networkController startRemoteServerSearch];