Merge branch 'master' of git://github.com/ksuther/MenuTunes
[MenuTunes.git] / ITMTRemote.m
index 26fe9a0..9a720c4 100755 (executable)
 
 - (ITMTRemotePlayerRunningState)playerRunningState
 {
-    return nil;
+    return ITMTRemotePlayerNotRunning;
 }
 
 - (ITMTRemotePlayerPlayingState)playerPlayingState
 {
-    return nil;
+    return ITMTRemotePlayerStopped;
 }
 
 - (NSArray *)playlists
     return nil;
 }
 
-- (int)numberOfSongsInPlaylistAtIndex:(int)index
+- (NSArray *)artists
 {
     return nil;
 }
 
-- (ITMTRemotePlayerSource)currentSource
+- (NSArray *)albums
 {
     return nil;
 }
 
+- (int)numberOfSources
+{
+    return -1;
+}
+
+- (int)numberOfSongsInPlaylistAtIndex:(int)index
+{
+    return -1;
+}
+
+- (ITMTRemotePlayerSource)currentSource
+{
+    return ITMTRemoteLibrarySource;
+}
+
 - (int)currentSourceIndex
 {
-    return nil;
+    return -1;
 }
 
 - (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
 {
-    return nil;
+    return ITMTRemotePlayerLibraryPlaylist;
 }
 
 - (int)currentPlaylistIndex
 {
-    return nil;
+    return -1;
 }
 
 - (NSString *)songTitleAtIndex:(int)index
     return nil;
 }
 
+- (BOOL)songEnabledAtIndex:(int)index
+{
+       return NO;
+}
+
 - (int)currentAlbumTrackCount
 {
-    return nil;
+    return -1;
 }
 
 - (int)currentSongTrack
 {
-    return nil;
+    return -1;
 }
 
 - (NSString *)playerStateUniqueIdentifier
 
 - (int)currentSongIndex
 {
-    return nil;
+    return -1;
 }
 
 - (NSString *)currentSongTitle
     return nil;
 }
 
+- (int)currentSongPlayed
+{
+       return -1;
+}
+
+- (int)currentSongDuration
+{
+       return -1;
+}
+
 - (NSString *)currentSongRemaining
 {
     return nil;
     return nil;
 }
 
+- (int)currentSongPlayCount
+{
+    return 0;
+}
+
 - (float)currentSongRating
 {
-    return nil;
+    return 0;
 }
 
 - (BOOL)setCurrentSongRating:(float)rating
     return NO;
 }
 
-/* - (BOOL)equalizerEnabled
+- (BOOL)currentSongShufflable
+{
+       return NO;
+}
+
+- (BOOL)setCurrentSongShufflable:(BOOL)shufflable
+{
+       return NO;
+}
+
+- (BOOL)equalizerEnabled
 {
     return NO;
 }
 - (BOOL)setEqualizerEnabled:(BOOL)enabled
 {
     return NO;
-} */
+}
 
 - (NSArray *)eqPresets
 {
 
 - (int)currentEQPresetIndex
 {
-    return nil;
+    return 0;
 }
 
 - (float)volume
 {
-    return nil;
+    return 0;
 }
 
 - (BOOL)setVolume:(float)volume
     return NO;
 }
 
+- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type
+{
+    return NO;
+}
+
 @end