App crashes when trying to select folders for local data

App version

Production

Issue description

App crashes when trying to select folders to get my music in the app.

Device type

Phone

Media provider

Local device

Steps to reproduce

Settings, manage media providers, add media provider, local device, by folders sd card - recommended, crash

Additional information

I have a Galaxy S10 plus stuck on android 12 using 204,000 local files.

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

Demontooth

The logs does not show the reason of the crash or anything. Looks like something occurring on the device.

See https://developer.android.com/studio/debug/bug-report to generate a bug report just after the bug (with Symfonium debug mode on and not while a sync is running). The upload to https://upload.symfonium.app