X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/77fcca750711207d8a493d227f61bf6b6fc5ecc1..97a75b2b15c91605969af322f4ed92559e7192d3:/MainController.m diff --git a/MainController.m b/MainController.m index 7c60fb0..23a6d1e 100755 --- a/MainController.m +++ b/MainController.m @@ -891,7 +891,7 @@ static MainController *sharedController; if ( [df boolForKey:@"showTime"] ) { NS_DURING time = [NSString stringWithFormat:@"%@: %@ / %@", - @"Time", + NSLocalizedString(@"time", @"Time"), [[self currentRemote] currentSongElapsed], [[self currentRemote] currentSongLength]]; NS_HANDLER @@ -930,7 +930,7 @@ static MainController *sharedController; } } - if ( [df boolForKey:@"showPlayCount"] && ![self radioIsPlaying] ) { + if ( [df boolForKey:@"showPlayCount"] && ![self radioIsPlaying] && [[self currentRemote] currentSource] == ITMTRemoteLibrarySource ) { NS_DURING playCount = [[self currentRemote] currentSongPlayCount]; NS_HANDLER @@ -1099,9 +1099,9 @@ static MainController *sharedController; - (void)setRating:(ITHotKey *)sender { - float rating = ([[sender name] characterAtIndex:9] - 48) / 5.0; - [self selectSongRating:rating]; - [statusWindowController showRatingWindowWithRating:rating]; + int stars = [[sender name] characterAtIndex:9] - 48; + [self selectSongRating:stars * 20]; + [statusWindowController showRatingWindowWithRating:(float)stars / 5.0]; } - (void)toggleLoop