+- (int)currentSongPlayed
+{
+ UInt32 final;
+ ITDebugLog(@"Getting current song played time.");
+ final = [ITSendAEWithKey('pPos', 'core', 'getd', &savedPSN) int32Value];
+ ITDebugLog(@"Getting current song played time done.");
+ return final;
+}
+
+- (int)currentSongDuration
+{
+ SInt32 temp1;
+ ITDebugLog(@"Getting current song duration.");
+ temp1 = [ITSendAEWithString(@"'----':obj { form:'prop', want:type('prop'), seld:type('pDur'), from:obj { form:'prop', want:type('prop'), seld:type('pTrk'), from:'null'() } }", 'core', 'getd', &savedPSN) int32Value];
+ ITDebugLog(@"Getting current song duration done.");
+ return temp1;
+}
+