Commit adf0381c authored by Soomin Lee's avatar Soomin Lee

VLCHTTPUploaderController: Post NewFileAdded notification

parent 8edeead8
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#import <arpa/inet.h> #import <arpa/inet.h>
#if TARGET_OS_IOS #if TARGET_OS_IOS
#import "VLC_iOS-Swift.h"
#import "VLCMediaFileDiscoverer.h" #import "VLCMediaFileDiscoverer.h"
#endif #endif
...@@ -328,6 +329,9 @@ ...@@ -328,6 +329,9 @@
} }
[[VLCMediaFileDiscoverer sharedInstance] performSelectorOnMainThread:@selector(updateMediaList) withObject:nil waitUntilDone:NO]; [[VLCMediaFileDiscoverer sharedInstance] performSelectorOnMainThread:@selector(updateMediaList) withObject:nil waitUntilDone:NO];
// FIXME: Replace notifications by cleaner observers
[[NSNotificationCenter defaultCenter] postNotificationName:NSNotification.VLCNewFileAddedNotification
object:self];
#endif #endif
} }
......
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