Skip to content
Snippets Groups Projects
Commit bb24adf4 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Deactivate folder preparsing in subs picker

And fix folders not listed

Fix #641
parent b831c14d
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,8 @@ class FilePickerProvider(context: Context, dataset: LiveDataset<MediaLibraryItem
}
override fun addMedia(media: MediaLibraryItem) {
if (media is MediaWrapper && media.type == MediaWrapper.TYPE_SUBTITLE) super.addMedia(media)
if (media is MediaWrapper && (media.type == MediaWrapper.TYPE_SUBTITLE || media.type == MediaWrapper.TYPE_DIR)) super.addMedia(media)
}
override suspend fun parseSubDirectories() {}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment