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
82 - (int)numberOfSources
87 - (ITMTRemotePlayerSource)currentSource
92 - (int)currentSourceIndex
97 - (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
102 - (int)currentPlaylistIndex
107 - (NSString *)songTitleAtIndex:(int)index
112 - (int)currentAlbumTrackCount
117 - (int)currentSongTrack
122 - (NSString *)playerStateUniqueIdentifier
127 - (int)currentSongIndex
132 - (NSString *)currentSongTitle
137 - (NSString *)currentSongArtist
142 - (NSString *)currentSongComposer
147 - (NSString *)currentSongAlbum
152 - (NSString *)currentSongGenre
157 - (NSString *)currentSongLength
162 - (NSString *)currentSongRemaining
167 - (NSString *)currentSongElapsed
172 - (NSImage *)currentSongAlbumArt
177 - (int)currentSongPlayCount
182 - (float)currentSongRating
187 - (BOOL)setCurrentSongRating:(float)rating
192 - (BOOL)equalizerEnabled
197 - (BOOL)setEqualizerEnabled:(BOOL)enabled
202 - (NSArray *)eqPresets
207 - (int)currentEQPresetIndex
217 - (BOOL)setVolume:(float)volume
222 - (BOOL)shuffleEnabled
227 - (BOOL)setShuffleEnabled:(BOOL)enabled
232 - (ITMTRemotePlayerRepeatMode)repeatMode
234 return ITMTRemotePlayerRepeatOff;
237 - (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode
257 - (BOOL)goToPreviousSong
272 - (BOOL)switchToPlaylistAtIndex:(int)index
277 - (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2
282 - (BOOL)switchToSongAtIndex:(int)index
287 - (BOOL)switchToEQAtIndex:(int)index