From: Kent Sutherland Date: Sun, 1 May 2005 23:20:04 +0000 (+0000) Subject: playerPlayingState works properly in 10.4 now. It should work in 10.3/10.2 fine also... X-Git-Tag: v1.5.1~3 X-Git-Url: http://git.ithinksw.org/MenuTunes.git/commitdiff_plain/253524554e56b8bbc06707079e887dbebc20afb6 playerPlayingState works properly in 10.4 now. It should work in 10.3/10.2 fine also, since the method is available there too. --- diff --git a/iTunesRemote.m b/iTunesRemote.m index 2595861..5fb5233 100755 --- a/iTunesRemote.m +++ b/iTunesRemote.m @@ -122,7 +122,7 @@ 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':