X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/f0a93087145b1920a1e96931203343a4b2b8793f..7a166bc12da4e76820743337d59bbbbfc1340445:/MenuTunes.m diff --git a/MenuTunes.m b/MenuTunes.m index 5dc69be..ce98339 100755 --- a/MenuTunes.m +++ b/MenuTunes.m @@ -444,6 +444,7 @@ Things to do: int curIndex = [currentRemote currentPlaylistIndex]; int numSongs = [currentRemote numberOfSongsInPlaylistAtIndex:curIndex]; int numSongsInAdvance = [[NSUserDefaults standardUserDefaults] integerForKey:@"SongsInAdvance"]; + if (!isPlayingRadio) { if (numSongs > 0) { int curTrack = [currentRemote currentSongIndex]; @@ -578,6 +579,7 @@ Things to do: //Called when the timer fires. - (void)timerUpdate { + NSLog(@"%i", [currentRemote playerState]); if ([currentRemote playerState] != stopped) { int trackPlayingIndex = [currentRemote currentSongIndex]; int playlist = [currentRemote currentPlaylistIndex]; @@ -597,6 +599,7 @@ Things to do: [menu insertItem:temp atIndex:trackInfoIndex + 1]; [temp release]; } + [self updateMenu]; lastSongIndex = trackPlayingIndex; }