X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/955343cfbfebf6b68b127629d9b6a76f80ba023a..b392de720df0cb5b7c0aa95e0b519059a676c233:/MainController.m diff --git a/MainController.m b/MainController.m index b695d80..dd8c51d 100755 --- a/MainController.m +++ b/MainController.m @@ -773,6 +773,7 @@ static MainController *sharedController; { if (!note || [[[note userInfo] objectForKey:@"NSApplicationName"] isEqualToString:[currentRemote playerFullName]]) { ITDebugLog(@"Remote application launched."); + playerRunningState = ITMTRemotePlayerRunning; [currentRemote begin]; [self setLatestSongIdentifier:@""]; [self timerUpdate]; @@ -783,7 +784,6 @@ static MainController *sharedController; repeats:YES] retain]; //[NSThread detachNewThreadSelector:@selector(startTimerInNewThread) toTarget:self withObject:nil]; [self setupHotKeys]; - playerRunningState = ITMTRemotePlayerRunning; } } @@ -795,9 +795,6 @@ static MainController *sharedController; [refreshTimer invalidate]; [refreshTimer release]; refreshTimer = nil; - [registerTimer invalidate]; - [registerTimer release]; - registerTimer = nil; [self clearHotKeys]; playerRunningState = ITMTRemotePlayerNotRunning; }