|
@@ -136,7 +136,7 @@
|
|
|
if (theError.code != noErr)
|
|
|
APLog(@"saving the file failed (%li): %@", (long)theError.code, theError.localizedDescription);
|
|
|
|
|
|
- [self performSelectorInBackground:@selector(updateMediaList) withObject:nil];
|
|
|
+ [self updateMediaList];
|
|
|
} else if ([url.scheme isEqualToString:@"vlc-x-callback"] || [url.host isEqualToString:@"x-callback-url"]) {
|
|
|
// URL confirmes to the x-callback-url specification
|
|
|
// vlc-x-callback://x-callback-url/action?param=value&x-success=callback
|
|
@@ -221,7 +221,7 @@
|
|
|
- (void)applicationDidBecomeActive:(UIApplication *)application
|
|
|
{
|
|
|
[[MLMediaLibrary sharedMediaLibrary] updateMediaDatabase];
|
|
|
- [self performSelectorInBackground:@selector(updateMediaList) withObject:nil];
|
|
|
+ [self updateMediaList];
|
|
|
}
|
|
|
|
|
|
- (void)applicationWillTerminate:(UIApplication *)application
|