git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now properly escaping all strings so ampersands now submit. Added a couple of NSLogs...
[MenuTunes.git]
/
ITMTRemote.m
diff --git
a/ITMTRemote.m
b/ITMTRemote.m
index
950e3d6
..
8431051
100755
(executable)
--- a/
ITMTRemote.m
+++ b/
ITMTRemote.m
@@
-22,14
+22,6
@@
return nil;
}
return nil;
}
-- (NSString *)sharedRemoteName
-{
- NSString *name = [[NSUserDefaults standardUserDefaults] stringForKey:@"sharedPlayerName"];
- if (!name)
- name = @"MenuTunes Shared Player";
- return name;
-}
-
- (BOOL)begin
{
return NO;
- (BOOL)begin
{
return NO;
@@
-87,6
+79,21
@@
return nil;
}
return nil;
}
+- (NSArray *)artists
+{
+ return nil;
+}
+
+- (NSArray *)albums
+{
+ return nil;
+}
+
+- (int)numberOfSources
+{
+ return nil;
+}
+
- (int)numberOfSongsInPlaylistAtIndex:(int)index
{
return nil;
- (int)numberOfSongsInPlaylistAtIndex:(int)index
{
return nil;
@@
-97,6
+104,11
@@
return nil;
}
return nil;
}
+- (int)currentSourceIndex
+{
+ return nil;
+}
+
- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
{
return nil;
- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
{
return nil;
@@
-112,6
+124,11
@@
return nil;
}
return nil;
}
+- (BOOL)songEnabledAtIndex:(int)index
+{
+ return nil;
+}
+
- (int)currentAlbumTrackCount
{
return nil;
- (int)currentAlbumTrackCount
{
return nil;
@@
-142,6
+159,11
@@
return nil;
}
return nil;
}
+- (NSString *)currentSongComposer
+{
+ return nil;
+}
+
- (NSString *)currentSongAlbum
{
return nil;
- (NSString *)currentSongAlbum
{
return nil;
@@
-157,6
+179,16
@@
return nil;
}
return nil;
}
+- (int)currentSongPlayed
+{
+ return -1;
+}
+
+- (int)currentSongDuration
+{
+ return -1;
+}
+
- (NSString *)currentSongRemaining
{
return nil;
- (NSString *)currentSongRemaining
{
return nil;
@@
-172,6
+204,11
@@
return nil;
}
return nil;
}
+- (int)currentSongPlayCount
+{
+ return nil;
+}
+
- (float)currentSongRating
{
return nil;
- (float)currentSongRating
{
return nil;
@@
-182,7
+219,17
@@
return NO;
}
return NO;
}
-/* - (BOOL)equalizerEnabled
+- (BOOL)currentSongShufflable
+{
+ return NO;
+}
+
+- (BOOL)setCurrentSongShufflable:(BOOL)shufflable
+{
+ return NO;
+}
+
+- (BOOL)equalizerEnabled
{
return NO;
}
{
return NO;
}
@@
-190,7
+237,7
@@
- (BOOL)setEqualizerEnabled:(BOOL)enabled
{
return NO;
- (BOOL)setEqualizerEnabled:(BOOL)enabled
{
return NO;
-}
*/
+}
- (NSArray *)eqPresets
{
- (NSArray *)eqPresets
{
@@
-267,6
+314,11
@@
return NO;
}
return NO;
}
+- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2
+{
+ return NO;
+}
+
- (BOOL)switchToSongAtIndex:(int)index
{
return NO;
- (BOOL)switchToSongAtIndex:(int)index
{
return NO;
@@
-277,4
+329,9
@@
return NO;
}
return NO;
}
+- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type
+{
+ return NO;
+}
+
@end
@end