playerPlayingState works properly in 10.4 now. It should work in 10.3/10.2 fine also...
authorKent Sutherland <ksuther@ithinksw.com>
Sun, 1 May 2005 23:20:04 +0000 (23:20 +0000)
committerKent Sutherland <ksuther@ithinksw.com>
Sun, 1 May 2005 23:20:04 +0000 (23:20 +0000)
iTunesRemote.m

index 2595861..5fb5233 100755 (executable)
     SInt32 result;
     
     ITDebugLog(@"Getting player playing state");
-    result = [ITSendAEWithString(@"'----':obj { form:'prop', want:type('prop'), seld:type('pPlS'), from:'null'() }", 'core', 'getd', &savedPSN) int32Value];
+    result = [ITSendAEWithString(@"'----':obj { form:'prop', want:type('prop'), seld:type('pPlS'), from:'null'() }", 'core', 'getd', &savedPSN) typeCodeValue];
     switch (result)
     {
         case 'kPSP':