Merge branch 'master' of git://github.com/ksuther/MenuTunes
[MenuTunes.git] / ITMTRemote.m
index 36b82eb..9a720c4 100755 (executable)
@@ -1,4 +1,4 @@
-pen#import "ITMTRemote.h"
+#import "ITMTRemote.h"
 
 @implementation ITMTRemote
 
@@ -66,12 +66,12 @@ pen#import "ITMTRemote.h"
 
 - (ITMTRemotePlayerRunningState)playerRunningState
 {
-    return nil;
+    return ITMTRemotePlayerNotRunning;
 }
 
 - (ITMTRemotePlayerPlayingState)playerPlayingState
 {
-    return nil;
+    return ITMTRemotePlayerStopped;
 }
 
 - (NSArray *)playlists
@@ -79,19 +79,44 @@ pen#import "ITMTRemote.h"
     return nil;
 }
 
-- (int)numberOfSongsInPlaylistAtIndex:(int)index
+- (NSArray *)artists
 {
     return nil;
 }
 
-- (ITMTRemotePlayerPlaylistClass)classOfPlaylistAtIndex:(int)index
+- (NSArray *)albums
 {
     return nil;
 }
 
+- (int)numberOfSources
+{
+    return -1;
+}
+
+- (int)numberOfSongsInPlaylistAtIndex:(int)index
+{
+    return -1;
+}
+
+- (ITMTRemotePlayerSource)currentSource
+{
+    return ITMTRemoteLibrarySource;
+}
+
+- (int)currentSourceIndex
+{
+    return -1;
+}
+
+- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
+{
+    return ITMTRemotePlayerLibraryPlaylist;
+}
+
 - (int)currentPlaylistIndex
 {
-    return nil;
+    return -1;
 }
 
 - (NSString *)songTitleAtIndex:(int)index
@@ -99,14 +124,29 @@ pen#import "ITMTRemote.h"
     return nil;
 }
 
-- (NSString *)currentSongUniqueIdentifier
+- (BOOL)songEnabledAtIndex:(int)index
+{
+       return NO;
+}
+
+- (int)currentAlbumTrackCount
+{
+    return -1;
+}
+
+- (int)currentSongTrack
+{
+    return -1;
+}
+
+- (NSString *)playerStateUniqueIdentifier
 {
     return nil;
 }
 
 - (int)currentSongIndex
 {
-    return nil;
+    return -1;
 }
 
 - (NSString *)currentSongTitle
@@ -119,6 +159,11 @@ pen#import "ITMTRemote.h"
     return nil;
 }
 
+- (NSString *)currentSongComposer
+{
+    return nil;
+}
+
 - (NSString *)currentSongAlbum
 {
     return nil;
@@ -134,21 +179,56 @@ pen#import "ITMTRemote.h"
     return nil;
 }
 
+- (int)currentSongPlayed
+{
+       return -1;
+}
+
+- (int)currentSongDuration
+{
+       return -1;
+}
+
 - (NSString *)currentSongRemaining
 {
     return nil;
 }
 
-- (float)currentSongRating
+- (NSString *)currentSongElapsed
 {
     return nil;
 }
 
+- (NSImage *)currentSongAlbumArt
+{
+    return nil;
+}
+
+- (int)currentSongPlayCount
+{
+    return 0;
+}
+
+- (float)currentSongRating
+{
+    return 0;
+}
+
 - (BOOL)setCurrentSongRating:(float)rating
 {
     return NO;
 }
 
+- (BOOL)currentSongShufflable
+{
+       return NO;
+}
+
+- (BOOL)setCurrentSongShufflable:(BOOL)shufflable
+{
+       return NO;
+}
+
 - (BOOL)equalizerEnabled
 {
     return NO;
@@ -166,12 +246,12 @@ pen#import "ITMTRemote.h"
 
 - (int)currentEQPresetIndex
 {
-    return nil;
+    return 0;
 }
 
 - (float)volume
 {
-    return nil;
+    return 0;
 }
 
 - (BOOL)setVolume:(float)volume
@@ -234,6 +314,11 @@ pen#import "ITMTRemote.h"
     return NO;
 }
 
+- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2
+{
+    return NO;
+}
+
 - (BOOL)switchToSongAtIndex:(int)index
 {
     return NO;
@@ -244,4 +329,9 @@ pen#import "ITMTRemote.h"
     return NO;
 }
 
+- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type
+{
+    return NO;
+}
+
 @end