Skip to content

Bad state: Too many elements #1

Description

@jj-gh

If you have the same video file (tested with mp4) on the same directory name on different storage drives, GalleryPicker.collectGallery throws "Bad state: Too many elements"

For example, if both:
<internal_sd>/sub_dir/vid_parent_dir/video.mp4
<external_sd>/vid_parent_dir/video.mp4
exist, the error gets triggered. The difference in sub directories doesn't matter, only the name of the video files' parent directory.

Even if you make the file names different like "video1.mp4" and "video2.mp4", the error gets triggered.
e.g.
<internal_sd>/sub_dir/vid_parent_dir/video1.mp4
<external_sd>/vid_parent_dir/video2.mp4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions