X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/8b06c48ba29b681cd97ca543733467e2a6c6cd0a..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"] ) {