Skip to content
  • I don't get it. What is in customDirectories and what's not?

    which folder are included in the end?

  • 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.

  • 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?

  • Since I guess I'm not clear, here's a screenshot:

    Include Directories for Medialibrary scan

    Edited by Shivansh Saini
  • airmore directory is inside Internal Storages. Internal Storages can be added as custom directory, however it shows in the list maximum of two times.

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