diff --git a/GetCurrentWebpage.m b/GetCurrentWebpage.m index 4633143e..09682958 100644 --- a/GetCurrentWebpage.m +++ b/GetCurrentWebpage.m @@ -192,6 +192,8 @@ + (Programme *)getCurrentWebpage:(LogController *)logger [newProg setValue:pid forKey:@"pid"]; if (newShowName) [newProg setShowName:newShowName]; [newProg getName]; + newProg.status = @"Processing..."; + [newProg performSelectorInBackground:@selector(getName) withObject:nil]; return newProg; } else if([url hasPrefix:@"http://www.bbc.co.uk/programmes/"]) @@ -217,7 +219,8 @@ + (Programme *)getCurrentWebpage:(LogController *)logger Programme *newProg = [[Programme alloc] init]; [newProg setValue:pid forKey:@"pid"]; if (newShowName) [newProg setShowName:newShowName]; - [newProg getName]; + newProg.status = @"Processing..."; + [newProg performSelectorInBackground:@selector(getName) withObject:nil]; return newProg; } else if ([url hasPrefix:@"http://www.bbc.co.uk/sport/olympics/2012/live-video/"])