-
I don't get it. What is in
customDirectories
and what's not?which folder are included in the end?
-
Author Owner
customDirectories is supposed to contain user-added directories to be scanned by medialibrary. And the getMediaDirectories method of DirectoryRepository also includes it.. Now, it's fetched again by StorageProvider in customDirectories and merged with storages in such a way that it only appears once in the storagesList.
-
Author Owner
However, I am confused about those custom directories which are children of already included directories in storages, like Internal Storage. What the logic implies is that they shouldn't be considered in storagesList. However, they actually are considered. So, I wanted to confirm is this intentional behavior?
-
Author Owner
-
Author Owner
airmore directory is inside Internal Storages. Internal Storages can be added as custom directory, however it shows in the list maximum of two times.
Please register or sign in to comment