3 @implementation ITMTRemote
10 - (NSString *)remoteTitle
15 - (NSString *)remoteInformation
20 - (NSImage *)remoteIcon
35 - (NSString *)playerFullName
40 - (NSString *)playerSimpleName
45 - (NSDictionary *)capabilities
47 return [NSDictionary dictionaryWithObjectsAndKeys:
48 [NSNumber numberWithBool: NO], @"Remote", // Set this to YES for a valid remote, otherwise the remote will be unusable.
49 [NSNumber numberWithBool: NO], @"Basic Track Control",
50 [NSNumber numberWithBool: NO], @"Track Information",
51 [NSNumber numberWithBool: NO], @"Track Navigation",
52 [NSNumber numberWithBool: NO], @"Upcoming Songs",
53 [NSNumber numberWithBool: NO], @"Playlists",
54 [NSNumber numberWithBool: NO], @"Volume",
55 [NSNumber numberWithBool: NO], @"Shuffle",
56 [NSNumber numberWithBool: NO], @"Repeat Modes",
57 [NSNumber numberWithBool: NO], @"Equalizer",
58 [NSNumber numberWithBool: NO], @"Track Rating",
62 - (BOOL)showPrimaryInterface
67 - (ITMTRemotePlayerRunningState)playerRunningState
72 - (ITMTRemotePlayerPlayingState)playerPlayingState
77 - (NSArray *)playlists
92 - (int)numberOfSources
97 - (int)numberOfSongsInPlaylistAtIndex:(int)index
102 - (ITMTRemotePlayerSource)currentSource
107 - (int)currentSourceIndex
112 - (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
117 - (int)currentPlaylistIndex
122 - (NSString *)songTitleAtIndex:(int)index
127 - (int)currentAlbumTrackCount
132 - (int)currentSongTrack
137 - (NSString *)playerStateUniqueIdentifier
142 - (int)currentSongIndex
147 - (NSString *)currentSongTitle
152 - (NSString *)currentSongArtist
157 - (NSString *)currentSongComposer
162 - (NSString *)currentSongAlbum
167 - (NSString *)currentSongGenre
172 - (NSString *)currentSongLength
177 - (NSString *)currentSongRemaining
182 - (NSString *)currentSongElapsed
187 - (NSImage *)currentSongAlbumArt
192 - (int)currentSongPlayCount
197 - (float)currentSongRating
202 - (BOOL)setCurrentSongRating:(float)rating
207 - (BOOL)currentSongShufflable
212 - (BOOL)setCurrentSongShufflable:(BOOL)shufflable
217 - (BOOL)equalizerEnabled
222 - (BOOL)setEqualizerEnabled:(BOOL)enabled
227 - (NSArray *)eqPresets
232 - (int)currentEQPresetIndex
242 - (BOOL)setVolume:(float)volume
247 - (BOOL)shuffleEnabled
252 - (BOOL)setShuffleEnabled:(BOOL)enabled
257 - (ITMTRemotePlayerRepeatMode)repeatMode
259 return ITMTRemotePlayerRepeatOff;
262 - (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode
282 - (BOOL)goToPreviousSong
297 - (BOOL)switchToPlaylistAtIndex:(int)index
302 - (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2
307 - (BOOL)switchToSongAtIndex:(int)index
312 - (BOOL)switchToEQAtIndex:(int)index
317 - (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type