Merge branch 'master' of git://github.com/ksuther/MenuTunes
[MenuTunes.git] / ITMTRemote.m
index 8431051..9a720c4 100755 (executable)
 
 - (ITMTRemotePlayerRunningState)playerRunningState
 {
 
 - (ITMTRemotePlayerRunningState)playerRunningState
 {
-    return nil;
+    return ITMTRemotePlayerNotRunning;
 }
 
 - (ITMTRemotePlayerPlayingState)playerPlayingState
 {
 }
 
 - (ITMTRemotePlayerPlayingState)playerPlayingState
 {
-    return nil;
+    return ITMTRemotePlayerStopped;
 }
 
 - (NSArray *)playlists
 }
 
 - (NSArray *)playlists
 
 - (int)numberOfSources
 {
 
 - (int)numberOfSources
 {
-    return nil;
+    return -1;
 }
 
 - (int)numberOfSongsInPlaylistAtIndex:(int)index
 {
 }
 
 - (int)numberOfSongsInPlaylistAtIndex:(int)index
 {
-    return nil;
+    return -1;
 }
 
 - (ITMTRemotePlayerSource)currentSource
 {
 }
 
 - (ITMTRemotePlayerSource)currentSource
 {
-    return nil;
+    return ITMTRemoteLibrarySource;
 }
 
 - (int)currentSourceIndex
 {
 }
 
 - (int)currentSourceIndex
 {
-    return nil;
+    return -1;
 }
 
 - (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
 {
 }
 
 - (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
 {
-    return nil;
+    return ITMTRemotePlayerLibraryPlaylist;
 }
 
 - (int)currentPlaylistIndex
 {
 }
 
 - (int)currentPlaylistIndex
 {
-    return nil;
+    return -1;
 }
 
 - (NSString *)songTitleAtIndex:(int)index
 }
 
 - (NSString *)songTitleAtIndex:(int)index
 
 - (BOOL)songEnabledAtIndex:(int)index
 {
 
 - (BOOL)songEnabledAtIndex:(int)index
 {
-       return nil;
+       return NO;
 }
 
 - (int)currentAlbumTrackCount
 {
 }
 
 - (int)currentAlbumTrackCount
 {
-    return nil;
+    return -1;
 }
 
 - (int)currentSongTrack
 {
 }
 
 - (int)currentSongTrack
 {
-    return nil;
+    return -1;
 }
 
 - (NSString *)playerStateUniqueIdentifier
 }
 
 - (NSString *)playerStateUniqueIdentifier
 
 - (int)currentSongIndex
 {
 
 - (int)currentSongIndex
 {
-    return nil;
+    return -1;
 }
 
 - (NSString *)currentSongTitle
 }
 
 - (NSString *)currentSongTitle
 
 - (int)currentSongPlayCount
 {
 
 - (int)currentSongPlayCount
 {
-    return nil;
+    return 0;
 }
 
 - (float)currentSongRating
 {
 }
 
 - (float)currentSongRating
 {
-    return nil;
+    return 0;
 }
 
 - (BOOL)setCurrentSongRating:(float)rating
 }
 
 - (BOOL)setCurrentSongRating:(float)rating
 
 - (int)currentEQPresetIndex
 {
 
 - (int)currentEQPresetIndex
 {
-    return nil;
+    return 0;
 }
 
 - (float)volume
 {
 }
 
 - (float)volume
 {
-    return nil;
+    return 0;
 }
 
 - (BOOL)setVolume:(float)volume
 }
 
 - (BOOL)setVolume:(float)volume