X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/f7e2632e0797735e202e5837edeaa3f21fd8d382..b62c6c9f99a0a3529e5a914b112e0d615b10e25c:/iTunesRemote.m diff --git a/iTunesRemote.m b/iTunesRemote.m index f330917..0702568 100755 --- a/iTunesRemote.m +++ b/iTunesRemote.m @@ -661,14 +661,14 @@ return YES; } -/*- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2 +- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2 { ITDebugLog(@"Switching to playlist at index %i of source %i", index, index2); [[ITAppleEventCenter sharedCenter] sendAEWithSendString:[NSString stringWithFormat:@"'----':obj { form:'indx', want:type('cPly'), seld:long(%lu), from: obj { form:'indx', want:type('cSrc'), seld:long(%lu), from:'null'() } }", index - 1, index2 + 1] eventClass:@"hook" eventID:@"Play" appPSN:savedPSN]; //{ form:'indx', want:type('cPly'), seld:long(%lu), from:obj { form:'indx', want:type('cSrc'), seld:long('%lu'), from:'null'() } } -- obj { form:'indx', want:type('cSrc'), seld:long(1), from:'null'() } ITDebugLog(@"Done switching to playlist at index %i of source %i", index, index2); return YES; -}*/ +} - (BOOL)switchToSongAtIndex:(int)index {