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)numberOfSongsInPlaylistAtIndex:(int)index
87 - (ITMTRemotePlayerSource)currentSource
92 - (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
97 - (int)currentPlaylistIndex
102 - (NSString *)songTitleAtIndex:(int)index
107 - (int)currentAlbumTrackCount
112 - (int)currentSongTrack
117 - (NSString *)playerStateUniqueIdentifier
122 - (int)currentSongIndex
127 - (NSString *)currentSongTitle
132 - (NSString *)currentSongArtist
137 - (NSString *)currentSongAlbum
142 - (NSString *)currentSongGenre
147 - (NSString *)currentSongLength
152 - (NSString *)currentSongRemaining
157 - (float)currentSongRating
162 - (BOOL)setCurrentSongRating:(float)rating
167 /* - (BOOL)equalizerEnabled
172 - (BOOL)setEqualizerEnabled:(BOOL)enabled
177 - (NSArray *)eqPresets
182 - (int)currentEQPresetIndex
192 - (BOOL)setVolume:(float)volume
197 - (BOOL)shuffleEnabled
202 - (BOOL)setShuffleEnabled:(BOOL)enabled
207 - (ITMTRemotePlayerRepeatMode)repeatMode
209 return ITMTRemotePlayerRepeatOff;
212 - (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode
232 - (BOOL)goToPreviousSong
247 - (BOOL)switchToPlaylistAtIndex:(int)index
252 - (BOOL)switchToSongAtIndex:(int)index
257 - (BOOL)switchToEQAtIndex:(int)index