Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
adf0381c
Commit
adf0381c
authored
Jul 31, 2018
by
Soomin Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCHTTPUploaderController: Post NewFileAdded notification
parent
8edeead8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Sources/VLCHTTPUploaderController.m
Sources/VLCHTTPUploaderController.m
+4
-0
No files found.
Sources/VLCHTTPUploaderController.m
View file @
adf0381c
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment