Fixing switchToPlaylistAtIndex
authorAlexander Strange <astrange@ithinksw.com>
Wed, 5 Mar 2003 03:02:01 +0000 (03:02 +0000)
committerAlexander Strange <astrange@ithinksw.com>
Wed, 5 Mar 2003 03:02:01 +0000 (03:02 +0000)
iTunesRemote.m

index 4d1b1a9..a7d5dcc 100755 (executable)
 
 - (BOOL)switchToPlaylistAtIndex:(int)index
 {
-    [[ITAppleEventCenter sharedCenter] sendAEWithSendString:[NSString stringWithFormat:@"'----':obj { form:'name', want:type('cPly'), seld:long(%lu), from:() }",index] eventClass:@"hook" eventID:@"Play" appPSN:iTunesPSN];
+    [[ITAppleEventCenter sharedCenter] sendAEWithSendString:[NSString stringWithFormat:@"'----':obj { form:'indx', want:type('cPly'), seld:long(%lu), from:() }",index] eventClass:@"hook" eventID:@"Play" appPSN:iTunesPSN];
     return NO;
 }