git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://github.com/ksuther/MenuTunes
[MenuTunes.git]
/
ITMTRemote.m
diff --git
a/ITMTRemote.m
b/ITMTRemote.m
index
bafb49e
..
9a720c4
100755
(executable)
--- a/
ITMTRemote.m
+++ b/
ITMTRemote.m
@@
-66,12
+66,12
@@
- (ITMTRemotePlayerRunningState)playerRunningState
{
- (ITMTRemotePlayerRunningState)playerRunningState
{
- return
nil
;
+ return
ITMTRemotePlayerNotRunning
;
}
- (ITMTRemotePlayerPlayingState)playerPlayingState
{
}
- (ITMTRemotePlayerPlayingState)playerPlayingState
{
- return
nil
;
+ return
ITMTRemotePlayerStopped
;
}
- (NSArray *)playlists
}
- (NSArray *)playlists
@@
-79,29
+79,44
@@
return nil;
}
return nil;
}
-- (
int)numberOfSource
s
+- (
NSArray *)artist
s
{
return nil;
}
{
return nil;
}
-- (
ITMTRemotePlayerSource)currentSource
+- (
NSArray *)albums
{
return nil;
}
{
return nil;
}
+- (int)numberOfSources
+{
+ return -1;
+}
+
+- (int)numberOfSongsInPlaylistAtIndex:(int)index
+{
+ return -1;
+}
+
+- (ITMTRemotePlayerSource)currentSource
+{
+ 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
@@
-109,14
+124,19
@@
return nil;
}
return nil;
}
+- (BOOL)songEnabledAtIndex:(int)index
+{
+ return NO;
+}
+
- (int)currentAlbumTrackCount
{
- (int)currentAlbumTrackCount
{
- return
nil
;
+ return
-1
;
}
- (int)currentSongTrack
{
}
- (int)currentSongTrack
{
- return
nil
;
+ return
-1
;
}
- (NSString *)playerStateUniqueIdentifier
}
- (NSString *)playerStateUniqueIdentifier
@@
-126,7
+146,7
@@
- (int)currentSongIndex
{
- (int)currentSongIndex
{
- return
nil
;
+ return
-1
;
}
- (NSString *)currentSongTitle
}
- (NSString *)currentSongTitle
@@
-159,6
+179,16
@@
return nil;
}
return nil;
}
+- (int)currentSongPlayed
+{
+ return -1;
+}
+
+- (int)currentSongDuration
+{
+ return -1;
+}
+
- (NSString *)currentSongRemaining
{
return nil;
- (NSString *)currentSongRemaining
{
return nil;
@@
-176,12
+206,12
@@
- (int)currentSongPlayCount
{
- (int)currentSongPlayCount
{
- return
nil
;
+ return
0
;
}
- (float)currentSongRating
{
}
- (float)currentSongRating
{
- return
nil
;
+ return
0
;
}
- (BOOL)setCurrentSongRating:(float)rating
}
- (BOOL)setCurrentSongRating:(float)rating
@@
-189,6
+219,16
@@
return NO;
}
return NO;
}
+- (BOOL)currentSongShufflable
+{
+ return NO;
+}
+
+- (BOOL)setCurrentSongShufflable:(BOOL)shufflable
+{
+ return NO;
+}
+
- (BOOL)equalizerEnabled
{
return NO;
- (BOOL)equalizerEnabled
{
return NO;
@@
-206,12
+246,12
@@
- (int)currentEQPresetIndex
{
- (int)currentEQPresetIndex
{
- return
nil
;
+ return
0
;
}
- (float)volume
{
}
- (float)volume
{
- return
nil
;
+ return
0
;
}
- (BOOL)setVolume:(float)volume
}
- (BOOL)setVolume:(float)volume
@@
-289,4
+329,9
@@
return NO;
}
return NO;
}
+- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type
+{
+ return NO;
+}
+
@end
@end