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 - (ITMTRemotePlayerRunningState)playerRunningState
67 - (ITMTRemotePlayerPlayingState)playerPlayingState
72 - (NSArray *)playlists
77 - (int)numberOfSongsInPlaylistAtIndex:(int)index
82 - (ITMTRemotePlayerPlaylistClass)classOfPlaylistAtIndex:(int)index
87 - (int)currentPlaylistIndex
92 - (NSString *)songTitleAtIndex:(int)index
97 - (int)currentSongIndex
102 - (NSString *)currentSongTitle
107 - (NSString *)currentSongArtist
112 - (NSString *)currentSongAlbum
117 - (NSString *)currentSongGenre
122 - (NSString *)currentSongLength
127 - (NSString *)currentSongRemaining
132 - (float)currentSongRating
137 - (BOOL)setCurrentSongRating:(float)rating
142 - (BOOL)equalizerEnabled
147 - (BOOL)setEqualizerEnabled:(BOOL)enabled
152 - (NSArray *)eqPresets
157 - (int)currentEQPresetIndex
167 - (BOOL)setVolume:(float)volume
172 - (BOOL)shuffleEnabled
177 - (BOOL)setShuffleEnabled:(BOOL)enabled
182 - (ITMTRemotePlayerRepeatMode)repeatMode
184 return ITMTRemotePlayerRepeatOff;
187 - (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode
207 - (BOOL)goToPreviousSong
222 - (BOOL)switchToPlaylistAtIndex:(int)index
227 - (BOOL)switchToSongAtIndex:(int)index
232 - (BOOL)switchToEQAtIndex:(int)index