Commit 7789fb69 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Cosmetics

(cherry picked from commit 0223df2a)
parent 86066642
......@@ -139,7 +139,7 @@
BoxAPIJSONFailureBlock failure = ^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, NSDictionary *JSONDictionary)
{
NSLog(@"there was an error getting the files but we don't show an error. this request is used to check if we need to refresh the token");
APLog(@"there was an error getting the files but we don't show an error. this request is used to check if we need to refresh the token");
};
[_operation cancel];
......
......@@ -15,17 +15,14 @@
@implementation VLCMigrationViewController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
}
return self;
return self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
}
- (void)viewDidLoad {
[super viewDidLoad];
[self.statusLabel setText:NSLocalizedString(@"UPGRADING_LIBRARY", "")];
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
NSLog(@"migrating coredata");
APLog(@"migrating coredata");
[[MLMediaLibrary sharedMediaLibrary] migrateLibrary];
dispatch_async(dispatch_get_main_queue(), ^{
self.completionHandler();
......
......@@ -101,7 +101,7 @@
[xmlparser setDelegate:self];
if (![xmlparser parse])
NSLog(@"PlexParser data Errors : %@", data);
APLog(@"PlexParser data Errors : %@", data);
return _containerInfo;
}
......
......@@ -103,7 +103,7 @@
// for debug
//NSString *debugStr = [[NSString alloc] initWithData:urlData encoding:NSUTF8StringEncoding];
//NSLog(@"data : %@", debugStr);
//APLog(@"data : %@", debugStr);
return urlData;
}
......@@ -234,7 +234,7 @@
[NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error];
if ([response statusCode] != 200)
NSLog(@"Plex stop Session %@ : %@", session, [response allHeaderFields]);
APLog(@"Plex stop Session %@ : %@", session, [response allHeaderFields]);
}
#pragma mark -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment