git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Positioning and hidden ratings for radio
[MenuTunes.git]
/
MainController.m
diff --git
a/MainController.m
b/MainController.m
index
518d86f
..
e6d338b
100755
(executable)
--- a/
MainController.m
+++ b/
MainController.m
@@
-533,7
+533,10
@@
static MainController *sharedController;
}
if ( [df boolForKey:@"showTrackRating"] ) {
- rating = ( [currentRemote currentSongRating] * 5 );
+ float currentRating = [currentRemote currentSongRating];
+ if (currentRating >= 0.0) {
+ rating = ( currentRating * 5 );
+ }
}
} else {