Permalink
Browse files

renamed Last.fm.framework to Scribbler

  • Loading branch information...
1 parent c47be25 commit 2283d20202343fe475ff908f7e1ec6817706cd5a Matt Patenaude committed Nov 16, 2009
View
@@ -1,6 +1,6 @@
//
// Controller.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/4/09.
// Copyright (C) 2009 {13bold}.
@@ -25,7 +25,7 @@
//
#import <Cocoa/Cocoa.h>
-#import <Last.fm/Last.fm.h>
+#import <Scribbler/Scribbler.h>
// Forward declarations
View
@@ -1,6 +1,6 @@
//
// Controller.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/4/09.
// Copyright (C) 2009 {13bold}.
@@ -26,7 +26,7 @@
#import "Controller.h"
#import "UIController.h"
-#import <Last.fm/Last.fm.h>
+#import <Scribbler/Scribbler.h>
#import "EMKeychainProxy.h"
#import "EMKeychainItem.h"
View
@@ -11,7 +11,7 @@
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
- <string>com.13bold.Last.fm.framework</string>
+ <string>com.13bold.Scribbler</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
View
@@ -1,6 +1,6 @@
//
// LFBanRequest.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFBanRequest.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFGetSessionRequest.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFGetSessionRequest.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFGetTokenRequest.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFGetTokenRequest.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFLoveRequest.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFLoveRequest.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFNowPlayingRequest.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFNowPlayingRequest.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFPlaySession.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/5/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFPlaySession.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/5/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFRequest.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/5/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFRequest.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/5/09.
// Copyright (C) 2009 {13bold}.
@@ -85,7 +85,7 @@ - (void)dealloc
- (void)dispatch
{
// Can't do anything
- NSLog(@"Last.fm.framework: warning, attempt to dispatch generic request");
+ NSLog(@"Scribbler.framework: warning, attempt to dispatch generic request");
}
#pragma mark Composition methods
View
@@ -1,6 +1,6 @@
//
// LFRequestTypes.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFScrobbleRequest.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFScrobbleRequest.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
@@ -1,6 +1,6 @@
//
// LFScrobblerHandshakeRequest.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/8/09.
// Copyright (C) 2009 {13bold}.
@@ -1,6 +1,6 @@
//
// LFScrobblerHandshakeRequest.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/8/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFTrack.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/4/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFTrack.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/4/09.
// Copyright (C) 2009 {13bold}.
@@ -1,6 +1,6 @@
//
// LFValidateSessionRequest.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/8/09.
// Copyright (C) 2009 {13bold}.
@@ -1,6 +1,6 @@
//
// LFValidateSessionRequest.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/8/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFWebService.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/5/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFWebService.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/5/09.
// Copyright (C) 2009 {13bold}.
@@ -110,7 +110,7 @@ - (NSString *)finishSessionAuthorization
{
if (!pendingToken)
{
- NSLog(@"Last.fm.framework: warning, session authorization was not pending");
+ NSLog(@"Scribbler.framework: warning, session authorization was not pending");
return nil;
}
@@ -307,7 +307,7 @@ - (void)requestSucceeded:(LFRequest *)theRequest
pendingToken = [[(LFGetTokenRequest *)theRequest token] copy];
- NSURL *authURL = [NSURL URLWithString:[NSString stringWithFormat:@"http://last.fm/api/auth?api_key=%@&token=%@", APIKey, pendingToken]];
+ NSURL *authURL = [NSURL URLWithString:[NSString stringWithFormat:@"http://www.last.fm/api/auth?api_key=%@&token=%@", APIKey, pendingToken]];
if (delegate && [delegate respondsToSelector:@selector(sessionNeedsAuthorizationViaURL:)])
[delegate sessionNeedsAuthorizationViaURL:authURL];
@@ -413,7 +413,7 @@ - (void)request:(LFRequest *)theRequest failedWithError:(NSError *)theError
{
if (![[theError domain] isEqualToString:@"Last.fm"])
{
- NSLog(@"Last.fm.framework: error, %@", [theError localizedDescription]);
+ NSLog(@"Scribbler.framework: error, %@", [theError localizedDescription]);
if (delegate && [delegate respondsToSelector:@selector(nowPlayingFailedForTrack:error:willRetry:)])
[delegate nowPlayingFailedForTrack:[theRequest track] error:theError willRetry:YES];
}
@@ -435,7 +435,7 @@ - (void)request:(LFRequest *)theRequest failedWithError:(NSError *)theError
{
if (![[theError domain] isEqualToString:@"Last.fm"])
{
- NSLog(@"Last.fm.framework: error, %@", [theError localizedDescription]);
+ NSLog(@"Scribbler.framework: error, %@", [theError localizedDescription]);
if (delegate && [delegate respondsToSelector:@selector(scrobbleFailedForTrack:error:willRetry:)])
[delegate scrobbleFailedForTrack:[theRequest track] error:theError willRetry:YES];
}
@@ -461,7 +461,7 @@ - (void)request:(LFRequest *)theRequest failedWithError:(NSError *)theError
{
if (![[theError domain] isEqualToString:@"Last.fm"])
{
- NSLog(@"Last.fm.framework: error, %@", [theError localizedDescription]);
+ NSLog(@"Scribbler.framework: error, %@", [theError localizedDescription]);
if (delegate && [delegate respondsToSelector:@selector(loveFailedForTrack:error:willRetry:)])
[delegate loveFailedForTrack:[theRequest track] error:theError willRetry:YES];
}
@@ -501,7 +501,7 @@ - (void)request:(LFRequest *)theRequest failedWithError:(NSError *)theError
{
if (![[theError domain] isEqualToString:@"Last.fm"])
{
- NSLog(@"Last.fm.framework: error, %@", [theError localizedDescription]);
+ NSLog(@"Scribbler.framework: error, %@", [theError localizedDescription]);
if (delegate && [delegate respondsToSelector:@selector(banFailedForTrack:error:willRetry:)])
[delegate banFailedForTrack:[theRequest track] error:theError willRetry:YES];
}
@@ -551,7 +551,7 @@ - (void)request:(LFRequest *)theRequest failedWithError:(NSError *)theError
{
state = LFNotConnected;
- NSLog(@"Last.fm.framework: error, %@", [theError localizedDescription]);
+ NSLog(@"Scribbler.framework: error, %@", [theError localizedDescription]);
if (delegate && [delegate respondsToSelector:@selector(sessionAuthorizationFailed)])
[delegate sessionAuthorizationFailed];
}
@@ -586,7 +586,7 @@ - (void)request:(LFRequest *)theRequest failedWithError:(NSError *)theError
{
if (![[theError domain] isEqualToString:@"Last.fm"])
{
- NSLog(@"Last.fm.framework: error, %@", [theError localizedDescription]);
+ NSLog(@"Scribbler.framework: error, %@", [theError localizedDescription]);
if (delegate && [delegate respondsToSelector:@selector(scrobblerHandshakeFailed:willRetry:)])
[delegate scrobblerHandshakeFailed:theError willRetry:YES];
}
@@ -640,7 +640,7 @@ - (void)request:(LFRequest *)theRequest failedWithError:(NSError *)theError
}
else
{
- NSLog(@"Last.fm.framework: error, %@", [theError description]);
+ NSLog(@"Scribbler.framework: error, %@", [theError description]);
shouldProceed = YES;
}
View
@@ -1,6 +1,6 @@
//
// LFWebServiceDelegate.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/5/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// LFWebServicePrivate.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/5/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,5 +1,5 @@
//
-// Prefix header for all source files of the 'Last.fm' target in the 'Last.fm' project.
+// Prefix header for all source files of the 'Scribbler' target in the 'Scribbler' project.
//
#ifdef __OBJC__
View
@@ -1,6 +1,6 @@
//
// NSString+LFExtensions.h
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
View
@@ -1,6 +1,6 @@
//
// NSString+LFExtensions.m
-// Last.fm
+// Scribbler
//
// Created by Matt Patenaude on 11/6/09.
// Copyright (C) 2009 {13bold}.
@@ -1,16 +1,16 @@
-Last.fm.framework
-=================
-`Last.fm.framework` is a Cocoa framework for Last.fm by {13bold}. Drawing on inspiration from (the failure of) the `LFScrobbler` framework, `Last.fm.framework` aims to solve many of the connectivity and stability issues exhibited by the old framework, while adding new features, like the ability to Love and Ban tracks.
+Scribbler
+=========
+Scribbler is a Cocoa framework for Last.fm by {13bold}. Drawing on inspiration from (the failure of) the `LFScrobbler` framework, Scribbler aims to solve many of the connectivity and stability issues exhibited by the old framework, while adding new features, like the ability to Love and Ban tracks.
-`Last.fm.framework` **IS NOT** backwards-compatible with `LFScrobbler`.
+Scribbler **IS NOT** backwards-compatible with `LFScrobbler`.
A Note on Garbage Collection
----------------------------
-For the sake of compatibility, `Last.fm.framework` supports living inside an application with Garbage Collection enabled. However, it is designed most stringently using reference counting. I don't anticipate there being any problems with `Last.fm.framework` in a Garbage Collected-environment; however, I have not been able to provide ample testing. If any GC-related issues should come up, please submit a bug report.
+For the sake of compatibility, Scribbler supports living inside an application with Garbage Collection enabled. However, it is designed most stringently using reference counting. I don't anticipate there being any problems with Scribbler in a Garbage Collected-environment; however, I have not been able to provide ample testing. If any GC-related issues should come up, please submit a bug report.
Licensing
---------
-`Last.fm.framework` is licensed under the MIT license, excerpted below.
+Scribbler is licensed under the MIT license, excerpted below.
Copyright 2009 {13bold}. All rights reserved.
Oops, something went wrong.

0 comments on commit 2283d20

Please sign in to comment.