X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/85b08f8062bd3048f27bf7f5ee4a1a08286197b9..253524554e56b8bbc06707079e887dbebc20afb6:/iTunesRemote.m 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':