Now properly escaping all strings so ampersands now submit. Added a couple of NSLogs...
[MenuTunes.git] / AudioscrobblerController.h
index 7daddea..78cfdb3 100644 (file)
@@ -24,7 +24,7 @@ typedef enum {
 @interface AudioscrobblerController : NSObject {
        BOOL _handshakeCompleted;
        AudioscrobblerStatus _currentStatus;
 @interface AudioscrobblerController : NSObject {
        BOOL _handshakeCompleted;
        AudioscrobblerStatus _currentStatus;
-       NSMutableArray *_tracks;
+       NSMutableArray *_tracks, *_submitTracks;
        NSDate *_delayDate;
        
        NSString *_md5Challenge;
        NSDate *_delayDate;
        
        NSString *_md5Challenge;
@@ -33,6 +33,7 @@ typedef enum {
 }
 + (AudioscrobblerController *)sharedController;
 
 }
 + (AudioscrobblerController *)sharedController;
 
+- (void)attemptHandshake;
 - (void)attemptHandshake:(BOOL)force;
 - (BOOL)handshakeCompleted;
 - (void)submitTrack:(NSString *)title artist:(NSString *)artist album:(NSString *)album length:(int)length;
 - (void)attemptHandshake:(BOOL)force;
 - (BOOL)handshakeCompleted;
 - (void)submitTrack:(NSString *)title artist:(NSString *)artist album:(NSString *)album length:(int)length;