git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added audioscrobbler to the preferences. Haven't hooked it up to the keychain yet.
[MenuTunes.git]
/
AudioscrobblerController.m
diff --git
a/AudioscrobblerController.m
b/AudioscrobblerController.m
index
62653ba
..
32cb718
100644
(file)
--- a/
AudioscrobblerController.m
+++ b/
AudioscrobblerController.m
@@
-121,7
+121,7
@@
static AudioscrobblerController *_sharedController = nil;
int i;
NSMutableString *requestString;
int i;
NSMutableString *requestString;
- NSString *authString, *responseHash;
+ NSString *authString, *responseHash
= @""
;
char *pass = "waffles";
unsigned char *buffer;
EVP_MD_CTX ctx;
char *pass = "waffles";
unsigned char *buffer;
EVP_MD_CTX ctx;
@@
-166,7
+166,7
@@
static AudioscrobblerController *_sharedController = nil;
[authString release];
//We can only submit ten tracks at a time
[authString release];
//We can only submit ten tracks at a time
- for (i = 0; (
[_tracks count] > 0
) && (i < 10); i++) {
+ for (i = 0; (
i < [_tracks count]
) && (i < 10); i++) {
NSDictionary *nextTrack = [_tracks objectAtIndex:i];
NSString *trackString;
NSDictionary *nextTrack = [_tracks objectAtIndex:i];
NSString *trackString;