Commit adf0381c authored by Soomin Lee's avatar Soomin Lee

VLCHTTPUploaderController: Post NewFileAdded notification

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