X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/e8516aa003a65e030ec6f7c4007ed04efa351477..2d58e7c682543939c0ae261514af569f7ac51fa3:/MainController.m diff --git a/MainController.m b/MainController.m index 692c409..6d7fe08 100755 --- a/MainController.m +++ b/MainController.m @@ -166,8 +166,14 @@ static MainController *sharedController; - (void)timerUpdate { + //This huge if statement is being nasty + /*if ( ( [self songChanged] ) || + ( ([self radioIsPlaying]) && (latestPlaylistClass != ITMTRemotePlayerRadioPlaylist) ) || + ( (! [self radioIsPlaying]) && (latestPlaylistClass == ITMTRemotePlayerRadioPlaylist) ) )*/ + if ([self songChanged]) { [self setLatestSongIdentifier:[currentRemote currentSongUniqueIdentifier]]; + latestPlaylistClass = [currentRemote currentPlaylistClass]; [menuController rebuildSubmenus]; if ( [df boolForKey:@"showSongInfoOnChange"] ) {