ITMTRemotePlayerRadioPlaylist
} ITMTRemotePlayerPlaylistClass;
+typedef enum {
+ ITMTRemoteLibrarySource = -1,
+ ITMTRemoteCDSource,
+ ITMTRemoteRadioSource,
+ ITMTRemoteiPodSource,
+ ITMTRemoteMP3PlayerSource
+} ITMTRemotePlayerSource;
+
/*!
* @enum ITMTRemotePlayerRepeatMode
* @abstract Possible repeat modes for the remote's player.
*/
- (int)numberOfSongsInPlaylistAtIndex:(int)index;
+/*!
+ * @method currentSource
+ */
+- (ITMTRemotePlayerSource)currentSource;
+
/*!
* @method currentPlaylistClass
*/
{
return [[ITAppleEventCenter sharedCenter] sendAEWithSendStringForNumber:[NSString stringWithFormat:@"kocl:type('cTrk'), '----':obj { form:'indx', want:type('cPly'), seld:long(%lu), from:'null'() }",index] eventClass:@"core" eventID:@"cnte" appPSN:savedPSN];
}
+- (ITMTRemotePlayerSource)currentSource
+{
+ return ITMTRemoteLibrarySource;
+}
- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
{