From 253524554e56b8bbc06707079e887dbebc20afb6 Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Sun, 1 May 2005 23:20:04 +0000 Subject: [PATCH] playerPlayingState works properly in 10.4 now. It should work in 10.3/10.2 fine also, since the method is available there too. --- iTunesRemote.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- 2.20.1