Commit 53ef3a99 authored by Soomin Lee's avatar Soomin Lee

VideoModel: Fetch files on init

parent 501c553e
......@@ -20,6 +20,7 @@ class VideoModel: MediaLibraryBaseModel {
required init(medialibrary: VLCMediaLibraryManager) {
medialibrary.addObserver(self)
files = medialibrary.media(ofType: .video)
}
func isIncluded(_ item: VLCMLMedia) {
......
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