Individual song rating setting by hotkey actually works now. I'm an idiot.
authorKent Sutherland <ksuther@ithinksw.com>
Fri, 2 Jul 2004 05:40:17 +0000 (05:40 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Fri, 2 Jul 2004 05:40:17 +0000 (05:40 +0000)
MainController.m

index 7c60fb0..73a8146 100755 (executable)
@@ -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