}
if ([defaults boolForKey:@"showAlbum"]) {
- [menu addItemWithTitle:[NSString stringWithFormat:@" %@", [currentRemote currentSongAlbum]]
- action:nil
- keyEquivalent:@""];
+ NSString *curAlbum = [currentRemote currentSongAlbum];
+ if ([curAlbum length]) {
+ [menu addItemWithTitle:[NSString stringWithFormat:@" %@", curAlbum]
+ action:nil
+ keyEquivalent:@""];
+ }
}
if ([defaults boolForKey:@"showArtist"]) {
- [menu addItemWithTitle:[NSString stringWithFormat:@" %@", [currentRemote currentSongArtist]]
- action:nil
- keyEquivalent:@""];
+ NSString *curArtist = [currentRemote currentSongArtist];
+ if ([curArtist length]) {
+ [menu addItemWithTitle:[NSString stringWithFormat:@" %@", curArtist]
+ action:nil
+ keyEquivalent:@""];
+ }
}
if ([defaults boolForKey:@"showTrackNumber"]) {
if ( flag ) {
NSMutableDictionary *loginwindow;
NSMutableArray *loginarray;
- ComponentInstance temp = OpenDefaultComponent(kOSAComponentType, kAppleScriptSubtype);;
+ ComponentInstance temp = OpenDefaultComponent(kOSAComponentType, kAppleScriptSubtype);
int i;
BOOL skip = NO;
\
PreferencesController:\
Do we want that preferences checkbox "Launch iTunes When MenuTunes Launches"? It isn't very pluginesque and I think our menu saying launch player is good enough.\
+If you change the number of upcoming songs, it doesn't change in the menu until the next menu rebuild.\
\
iTunesRemote:\
-showPrimaryInterface doesn't show the browser window it and unminimize it\