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