add the included folders at the scaned ones
This commit is contained in:
parent
a3777d0f73
commit
d61f1d7d1b
|
@ -74,6 +74,8 @@ fun Context.getParents(): ArrayList<String> {
|
|||
parentsSet.addAll(noMediaFolders)
|
||||
}
|
||||
|
||||
parentsSet.addAll(config.includedFolders)
|
||||
|
||||
parentsSet.filterTo(parents, {
|
||||
val file = File(it)
|
||||
if (file.isDirectory && file.canonicalFile == file.absoluteFile) { // filter out symbolic links too
|
||||
|
|
Loading…
Reference in New Issue